Git reset --hard
If you want discard many changes in your repo one option is back to HEAD version.
- Reset master back to origin/master #git reset --hard origin/master
Written by Ignacio Soriano Cano
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#