Re: WISH: Extending git commit --amend
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- May 29, 2009, 08:10 UTC
- Message-ID
- <vpqprds2uu6.fsf@bauges.imag.fr>
- In-Reply-To
- <e5bfff550905282348gf29aa16o6eec88423bb5ce23@mail.gmail.com>
Marco Costalba <mcostalba@gmail.com> writes:
> Would be possible to extend git commit --amend so to automate the > above sequence ? Or does perhaps exists a better sequence to change > (actually simulate the change of) log message of an inner revision?
git rebase -i E^
Then, change a "pick" with a "edit" wherever you want.
(Perhaps the doc of commit --amend could say "to amend a previous commit, you may want to look at the 'edit' command of 'git rebase -i'"?)
-- Matthieu