Skip to content

Instantly share code, notes, and snippets.

@laychopy
Forked from neosergio/gitdiff-svnpatch.sh
Created July 12, 2013 00:54
Show Gist options
  • Save laychopy/5980579 to your computer and use it in GitHub Desktop.
Save laychopy/5980579 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