From: Jeff King Date: Wed, 10 Jan 2007 14:04:32 GMT Subject: Re: [PATCH] Detached HEAD (experimental) Message-ID: <20070110140432.GA20868@coredump.intra.peff.net> In-Reply-To: On Tue, Jan 09, 2007 at 03:46:32PM -0800, Linus Torvalds wrote: > I would suggest a solution: > > - git checkout will refuse to switch AWAY from a detached head unless the > SHA1 of the detached head exactly matches some other branch. What about git checkout HEAD~20 I agree that checking out tags will be more common, but it feels like we are discouraging this usage by presenting spurious warning messages. -Peff