Editing a commit message in git
We all make mistakes but so long as you haven't pushed them you can edit a commit message with a single command
git commit --amend
your previous commit message will even be there to edit
Written by Stephen Binns
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors

filipekiss
702.8K

khasinski
595.9K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#