Re: git-format-patch little gripe
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 3, 2006, 17:51 UTC
- Message-ID
- <eifvhc$u59$1@sea.gmane.org>
- In-Reply-To
- <87y7qsv3l7.wl%cworth@cworth.org>
Carl Worth wrote:
> (We've currently got "git commit --amend" for example, but > what I often want is "git goto old-commit; #hack; git commit --amend; > git replay" or whatever, (in Stacked Git speak that is currently "stg > goto old-commit; #hack; stg refresh; stg push --all").
<we are on branch 'top', and assume that branch 'tmp' does not exist> $ git checkout -b tmp old-commit #hack $ git commit --amend $ git rebase --onto tmp old-commit top $ git branch -D tmp
-- Jakub Narebski Warsaw, Poland ShadeHawk on #git