git commit --amend -m "New commit message."
$ (some_branch) git commit --amend -m "Your new commit message"