git revert merge

Shell
git revert -m 1 <merge-commit>
git reset --hard HEAD~1
git reset --hard <commit_sha>git revert -m 1 commit_hash

Source

Also in Shell: