From: Nicolas Pitre Date: Sat, 30 Jan 2010 05:25:14 GMT Subject: Re: master^ is not a local branch -- huh?!? Message-ID: In-Reply-To: <76718491001292111y2d15620ei8a12c081a9283a07@mail.gmail.com> On Sat, 30 Jan 2010, Jay Soffian wrote: > This sounds right to me too. There's nothing wrong with having a > detached HEAD, and nothing wrong with creating commits in that state. > You're effectively creating an anonymous branch in the DAG and it's > subject to garbage collection if you move away from that anonymous > branch w/o naming it. > > Pedantic note: you don't lose those commits at the next checkout. They > are merely subject to garbage collection (and not until they age out > of HEAD's reflog). I know you know that, just being precise. :-) Being the actual author of the code managing the separate HEAD reflog, I do know that indeed. ;-) Nicolas