Skip to content

Instantly share code, notes, and snippets.

@h2oai
Created July 17, 2012 05:07
Show Gist options
  • Save h2oai/3127292 to your computer and use it in GitHub Desktop.
Save h2oai/3127292 to your computer and use it in GitHub Desktop.
git-revert-hacks
Undoing Merges:
If you want to revert a merge of two branches (and all related auto-merges)
$ git revert -m 1 0bd44a32f10a7a4d1c8be6f57a8d9c0e1d210ea0
Kind of reverse-cherry-picking
http://git-scm.com/2010/03/02/undoing-merges.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment