Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chris-piekarski/78284318cbad31d7fb92f8200213cec9 to your computer and use it in GitHub Desktop.
Save chris-piekarski/78284318cbad31d7fb92f8200213cec9 to your computer and use it in GitHub Desktop.
GPLv2 Git Patch Sharing Stripper
#create patches from author(s) into one without comments
#good for GPLv2 sharing
for c in `git log --format=format:%H --author=chris`;do git format-patch --stdout --format=format:%H --no-stat -1 $c;done | tee stuff.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment