Re: [PATCH] Proof-of-concept patch to remember what the detached HEAD was
- From
Sean Estabrooks <seanlkml@sympatico.ca>
- Date
- Oct 17, 2009, 07:24 UTC
- Message-ID
- <BLU0-SMTP840FB343954FC20ACA699CAEC30@phx.gbl>
- In-Reply-To
- <alpine.DEB.1.00.0910160357370.4985@pacific.mpi-cbg.de>
On Fri, 16 Oct 2009 04:07:23 +0200 (CEST) Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 5 quoted lines
> 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 ""
Cheers, Sean