Git: Abort a merge
Started a merge of two branches and all is messed up? No problem at if you want to be back on HEAD of the current branch.
git reset --hard HEAD
Written by Daniel Schmidt
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#