Re: Recovering from commit --amend in rebase --interactive
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Jun 1, 2010, 10:40 UTC
- Message-ID
- <alpine.DEB.2.00.1006011136590.2352@ds9.cixit.se>
- In-Reply-To
- <4C04D78A.2090103@panasas.com>
Boaz Harrosh:
> The prints are clear enough.
The problem is that you stop reading them after a while. I've been using rebase actively for a couple of years, so I don't necessary pay much attention to what it says anymore.
And besides, if I forget to do the edits in another xterm, the help text is usually gone by the time I need to continue anyway...
> What?!? no, why. Just empty out the message at editor and save. It will > abort any commit and do nothing.
Oh. That's useful to know next time it happens :-)
Jan Krüger:
Show 5 quoted lines
> It might be easy to miss, but it's there, right in the editor: > > # Please enter the commit message for your changes. Lines starting > # with '#' will be ignored, and *an empty message aborts the commit*. > (Emphasis added)
Indeed. There goes thinking you know what you do after having used the tools for a long time... :-)
-- \\// Peter - http://www.softwolves.pp.se/