SyntaxFix
Write A Post
Hire A Developer
Questions
Since git 1.7.9 version you can also use git commit --amend --no-edit to get your result.
git commit --amend --no-edit
Note that this will not include metadata from the other commit such as the timestamp which may or may not be important to you.