Re: FEATURE suggestion git commit --amend <ref>
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Feb 27, 2009, 08:37 UTC
- Message-ID
- <fabb9a1e0902270037s3355e8e3m1533f86fd3ce2e8f@mail.gmail.com>
- In-Reply-To
- <81bfc67a0902262345i63386076rbcf6d71ed88c29ac@mail.gmail.com>
Heya,
On Fri, Feb 27, 2009 at 08:45, Caleb Cushing <xenoterracide@gmail.com> wrote:
Show 6 quoted lines
> git rebase -i seems a little more tedious/unfriendly than I'd like if > all I want to do is edit HEAD~2 (assuming no merges) it's a bit of a > pain to do a rebase -i and then pick which patches to edit. might be > nice to be able to do stuff like git commit --amend <ref> and have > that call rebase (as I think not rebasing is impossible?) with edit > only on the ref I picked.
Ah, yes, I would like this feature as well. But this could probably be solved with a custom editor script that does a simple sed 's/pick $TARGET/edit $TARGET/'?
-- Cheers, Sverre Rabbelier