For some reason we wanted to abort a current pending merge because maybe of some conflicts. We can use the following command:

git merge --abort