From: Nicolas Pitre Date: Wed, 14 Oct 2009 20:18:03 GMT Subject: Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was Message-ID: In-Reply-To: On Wed, 14 Oct 2009, Daniel Barkalow wrote: > On Wed, 14 Oct 2009, Jay Soffian wrote: > > > $ git commit -m "blah" > > Cannot commit while not on any branch. Please use git commit -b to > > specify the name of a new branch to commit to, or use git commit -f to > > force a detached commit. > > The difference is that some experienced users depend on being able to > commit while not on a branch, and want to not get a warning for every > commit while not on a branch. I assume that the -f would silence any warning? Nicolas