GIT - reverting merge (pull request gonne wrong) Tue, 07/04/2017 Find a commit hash where merge occured to master and then git revert -m 1 <commit-hash> git commit -m "Reverting the last commit which messed the repo." git push -u origin master Drupal 7 Drupal 8 Devops View the discussion thread.