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 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html