--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!
Written by Alexander Brevig
Related protips
2 Responses
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
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#