lkml.org 
[lkml]   [2010]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: How to find a lost git commit?
From
On Wed, Jun 30, 2010 at 3:31 PM, Po-Yu Chuang <ratbert.chuang@gmail.com> wrote:
> Hi Lin,
>
> 2010/6/30 Lin Ming <lin@ming.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.


\
 
 \ /
  Last update: 2010-06-30 09:37    [W:0.027 / U:1.832 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site