Reset incorrect commit messages in git

18 Mar
2010

Made a typo? Forgot something? If you didn’t push your changes, it’s that easy:

git commit –amend -m “your new message”

Further, _any_ commit can be changed with the right commands. But that’s dangerous and breaks history (if others pulled from you)

Comment Form

top

Switch to our mobile site