Last Updated: February 25, 2016
·
478
· stephenbinns

Editing a commit message in git

We all make mistakes but so long as you haven't pushed them you can edit a commit message with a single command

git commit --amend

your previous commit message will even be there to edit