Adam K Dean

Modify your last commit message

Published on 5 March 2014 at 11:51 by Adam

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

git commit -m "Fixed issue where udpate failed"

Oh, not again, look at that typo!

git commit --amend -m "Fixed issue where update failed"

As simple as that.



This post was first published on 5 March 2014 at 11:51. It was filed under archive with tags snippet, git.