Hızlı yanıt: kod örneği
Since Git you can also use 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.
1.7.9
git commit --amend --no-edit