From: Johannes Schindelin Date: Mon, 26 Oct 2009 22:22:13 GMT Subject: Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was Message-ID: In-Reply-To: Hi, On Sat, 17 Oct 2009, Sean Estabrooks wrote: > On Fri, 16 Oct 2009 04:07:23 +0200 (CEST) > Johannes Schindelin wrote: > > > Just recently, I had a user request (a very valid one, mind you) where > > the user does not want to provide a commit message, and wants to just > > commit all the current changes. In that particular case, it is very > > sensible to ask for these things. It is something utterly simple to > > ask for. Yet, it is utterly hard with Git, especially if I have to > > explain it. > > Hey Johannes, > > It's actually easy, but maybe hard to find: > > $ git commit --cleanup=verbatim -m "" Of course that leaves out the main part. But it is simple once you know it (I did not): git add -A (we even went out of our way _not_ to name the long option --addremove, but --all -- it does not seem to be an expressive-enough option name to me, but what does my impression matter...) So I retract my claim that it is utterly hard to do with Git (but not the rest). Ciao, Dscho