Skip to content

Instantly share code, notes, and snippets.

@stunko
Last active August 29, 2015 14:04
Show Gist options
  • Save stunko/55a265b543bc197b859d to your computer and use it in GitHub Desktop.
Save stunko/55a265b543bc197b859d to your computer and use it in GitHub Desktop.
Git revert changes between some commits using diff patch
git diff <new commit> <old commit> | git apply
git commit -am 'Text commit' | git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment