[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AANLkTilZPgvICbrolTRnG_w-w7EXr1BRxENznqTGaWWh@mail.gmail.com>
Date: Wed, 30 Jun 2010 15:34:01 +0800
From: Lin Ming <lin@...g.vg>
To: Po-Yu Chuang <ratbert.chuang@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>
Subject: Re: How to find a lost git commit?
On Wed, Jun 30, 2010 at 3:31 PM, Po-Yu Chuang <ratbert.chuang@...il.com> wrote:
> Hi Lin,
>
> 2010/6/30 Lin Ming <lin@...g.vg>:
>> I wrote some patch and checked it in my local branch.
>> But by accident, I run "git reset --hard" to reset the git head to
>> some other commit.
>>
>> So now I can't find my patch because I don't know it's commit number.
> I guess git reflog is what you need.
Wow! That's it!
Many thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists