Modify your last commit message

adamkdean

Adam K Dean

Posted on March 5, 2014

Modify your last commit message

It's easy to modify your last commit message, simply add --amend and commit again.

git commit -m "Fixed issue where udpate failed"
Enter fullscreen mode Exit fullscreen mode

Oh, not again, look at that typo!

git commit --amend -m "Fixed issue where update failed"
Enter fullscreen mode Exit fullscreen mode

As simple as that.

💖 💪 🙅 🚩
adamkdean
Adam K Dean

Posted on March 5, 2014

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related