Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: WISH: Extending git commit --amend

From: Eric Raible <hidden>
Date: 2016-06-15 22:46:52

Marco Costalba <mcostalba <at> gmail.com> writes:
[snip]
I find myself wanting to amend not tip of the branch, but an older
commit (typically to change log message). As example if I have this

D---E---F---G master

And I want to amend revision E currently I do

[snip]

Thanks in advance
Marco
git rebase --interactive E^
Then change the commit for E from 'pick' to 'edit'.
Then follow the directions.

- Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help