Skip to content

Instantly share code, notes, and snippets.

@jwebcat
Created March 15, 2013 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwebcat/5169383 to your computer and use it in GitHub Desktop.
Save jwebcat/5169383 to your computer and use it in GitHub Desktop.
git patch from changes
$ git diff --binary HEAD > tempPatch.diff
# this next bit only if you want to reset the changes in the working tree
$ git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment