git undo-last
Simple way to undo the last commit, add this as a git alias :
    undo-last = "reset HEAD^"
Written by Stilliard
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#

 
 
 
 
