From: Nicolas Pitre Date: Fri, 16 Oct 2009 15:44:10 GMT Subject: Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was Message-ID: In-Reply-To: On Fri, 16 Oct 2009, Daniel Barkalow wrote: > What's the state before the "git checkout HEAD~2"? It is HEAD@{1}. > I know I often find my git.git repos on "* (no branch)", and I don't > remember if I checked that out as origin/master or origin/next. Just have a look at the output of "git reflog". Pretty unambiguous IMHO. Nicolas