Last Updated: February 25, 2016
·
766
· dsci

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