How to change the message on the last commit in git?

Making amends is easy when you know the right command to do it.

git commit --amend
# follow prompts to change the commit message

Stupid commit message formatting requirements.

Originally Posted On: OhShitGit

Subscribe to GIT.WTF!?!

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]