Since Git 1.7.9
you can also use git commit --amend --no-edit
to get your result.
Note that this will not include metadata from the other commit such as the timestamp or tag, which may or may not be important to you.
Since Git 1.7.9
you can also use git commit --amend --no-edit
to get your result.
Note that this will not include metadata from the other commit such as the timestamp or tag, which may or may not be important to you.