On Monday, April 29, 2013 7:28:44 AM UTC+2, lei yang wrote:

> Hi experts 
>
> I commit a change to my local git repos, but I did a git hard --reset 
> local_commit^, and then my local changes disappeared, how could I 
> recover my local changes ? 
>
>
You can recover previous commits (even if you left them behind using a 
reset) by looking in the "reflog". 

http://gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html 

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to