Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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