git merge abort

C++
git merge --abortgit merge --abortgit reset --hard HEADgit merge --abort

Source

Also in C++: