Command to reset your latest local git commit
$ git reset HEAD^
OR
$ git reset HEAD~1
Written by Hikmat Dhamee
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best #Scm Authors
Sponsored by #native_company# — Learn More
#native_title# #native_desc#