Re: [RFC,PATCH] git-amend -- darcs like amend-record for git
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Mar 1, 2010, 09:16 UTC
- Message-ID
- <be6fef0d1003010116p443985b3ib71f229a1978f831@mail.gmail.com>
- In-Reply-To
- <1267107365-2973-1-git-send-email-kirr@mns.spb.ru>
Hi,
On Thu, Feb 25, 2010 at 10:16 PM, Kirill Smelkov <kirr@mns.spb.ru> wrote:
Show 9 quoted lines
> Ever wanted to type `git commit --amend HEAD~3` ? But had to fall back to commit > and interactive rebase with fixup? And was tired by a lot of typing? And also > rebase works only on clean worktree, so stash save and stash pop have to be > used... > > Forget it. > > Now one can just do `git add ...` to prepare index, and then > `git amend <commit>` to merge that changes from index into <commit>.
this may be a little late, but I'd like to indicate my interest in such a feature.
A suggestion: I believe this could be better advertised as git-rebase --interactive --edit. After all, you do replay the intervening commits (which is closer to git-rebase than git-commit).
-- Cheers, Ray Chuan