From: Johannes Schindelin Date: Fri, 12 Feb 2010 09:29:18 GMT Subject: Re: [RFC] git rebase --edit Message-ID: In-Reply-To: Hi, On Fri, 12 Feb 2010, Tay Ray Chuan wrote: > [description how to amend a single commit that is not HEAD] > > Perhaps git-rebase --interactive could learn an option, say, --edit > , that > > 1. determines where to start the rebase (instead of saying ^ above), > 2. marks as 'e' in git-rebase-todo, > 3. start the edit process ("You can amend the commit now..."). > > The user would then proceed with the usual git-rebase --continue. > > Is this a workable suggestion? Sure! Note that the current workflow for such things is to make a temporary commit which is then handled by the new "fixup" command. But of course, this only works if your history is not messy, i.e. has too many changes in the same place (because then the fixup commit does not apply cleanly to the commit in question). Ciao, Dscho