How to change the message on last commit?

· OhShitGit · Mistakes Correction
$ git commit --amend
# follow prompts to change the commit message

Stupid commit message formatting requirements.

Want to Contribute?

Send me an Email, ping me on Twitter or submit a pull request on Github.

Sign up below to receive updates, tips and more handy tutorials when git screws up. It’s good stuff & I don’t spam.