Last Updated: February 25, 2016
·
787
· alexanderbrevig

--amend your commit message

I bet I'm not the only one who has committed in a hurry and regretted my commit message only a bit too late.

Not to worry!

git commit --amend -m "your new message"

PS:
https://www.google.no/search?q=git+amend+site%3Acoderwall.com

Especially: http://coderwall.com/p/kin3ow some neat tricks there!

2 Responses
Add your response

You're not the only one ;)
Just FYI: http://coderwall.com/p/kin3ow

over 1 year ago ·

@ydbondt that's embarrassing... I did a google site:coderwall.com search first, no relevant results showed up. I'll update it to link to yours:)

over 1 year ago ·