Abort a merge operation with conflicts
Let say you are working on branch 4.3, and by accident you merge the wrong branch name instead :
git merge origin ABC
Your working tree is now completely broken with failed merges since the two branches are not compatible. To revert the mistake you can just issue a :
git reset --merge
Recent Comments