Discarding all local commits on this branch
git reset --hard @{u}
Written by Filip Lindqvist
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#