$ git commit --amend -m "new message"
$ git commit --amend

Only do this if the specific commit has not been shared by the public. (Has not been pushed to a remote). Otherwise it will break the history and merging for everyone.