Skip to content

Instantly share code, notes, and snippets.

@kkommeri
Forked from neosergio/gitdiff-svnpatch.sh
Created December 1, 2015 10:40
Show Gist options
  • Save kkommeri/ddbef638c3b47cee59eb to your computer and use it in GitHub Desktop.
Save kkommeri/ddbef638c3b47cee59eb 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