Skip to content

Instantly share code, notes, and snippets.

@neosergio
Forked from katta/gitdiff-svnpatch.sh
Created July 11, 2013 20:49
Show Gist options
  • Star 24 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save neosergio/5979125 to your computer and use it in GitHub Desktop.
Save neosergio/5979125 to your computer and use it in GitHub Desktop.
git diff --no-prefix --ignore-space-at-eol | sed -e "s/^diff --git [^[:space:]]*/Index:/" -e "s/^index.*/===================================================================/" > changes.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment