From: Tay Ray Chuan Date: Mon, 22 Nov 2010 14:29:55 GMT Subject: Re: OK, how should I have done this... Message-ID: In-Reply-To: Hi, On Mon, Nov 22, 2010 at 10:22 PM, Patrick Doyle wrote: > That looks kinda scary to me.  The last time I played with git-reset, > I ended up losing(*) the commit at the head of my branch.  ((*) Well, > I didn't "lose" it in the sense of "it's gone forever", but I lost it > in the sense of "it doesn't show up in git log anymore".) That's the whole idea of git reset. If you want to see what the "lost" commit was, try git reflog; it's very likely at HEAD@{1}. -- Cheers, Ray Chuan