Change message on the last commit in Git

If you need to change the comment on the last commit just run the following command:

git commit --amend -m"Write here the new commit message"

Leave a Reply

Your email address will not be published. Required fields are marked *