Skip to content

Instantly share code, notes, and snippets.

@ngpestelos
Last active December 10, 2015 22:59
Show Gist options
  • Save ngpestelos/4506635 to your computer and use it in GitHub Desktop.
Save ngpestelos/4506635 to your computer and use it in GitHub Desktop.
How to undo a merge from a pull request
git revert -m 1 <commit hash>
@ngpestelos
Copy link
Author

reverts to the parent commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment