How to undo a git commit --amend
I made a silly mistake this morning, accidentally doing a git commit amend instead of a new commit. Here's how to roll back:
http://www.youtube.com/watch?v=pW0bITv07ok&feature=youtu.be
And the git documentation!
Written by Murphy Randle
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Undo
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#