From: Junio C Hamano Date: Tue, 11 Oct 2005 21:37:40 GMT Subject: Re: How to restore the original head after `git-reset --hard master^` Message-ID: <7vpsqbspjv.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <434BD65A.9000108@ust.hk> Ben Lau writes: > After involves the command `git-reset --hard master^` in a > repository, the working > tree , current head and index are restored to the parent of master. That > includes > the content of '.git/refs/head/master'. Although the original commit > object is still existed > , I couldn't find it back. I think you can find it in .git/ORIG_HEAD.