xxxxxxxxxx
git commit --amend
// press enter, editor would open
change/rename commit message git
xxxxxxxxxx
git commit --amend -m "your new commit message."
xxxxxxxxxx
# Displays a list of the last 3 commits on the current branch
$ git rebase -i HEAD~3