GIT - reseting hard, moving to previous commit after merge Tue, 07/04/2017 git reset --hard c517b565b2bcc0cf2ca5265b6ea6657f253fe2af git push -fto move git to previous commit and push it to remote server, we first need to reset hard to SHA value and then push it with force to overide current state Drupal 7 Drupal 8 GIT View the discussion thread.