Skip to content

Instantly share code, notes, and snippets.

@michaelhood
Created December 30, 2012 11:01
Show Gist options
  • Save michaelhood/4412203 to your computer and use it in GitHub Desktop.
Save michaelhood/4412203 to your computer and use it in GitHub Desktop.
git patches for a pull request
for c in $(curl -su michaelhood:$ppp https://api.github.com/repos/github/developer.github.com/pulls/183/commits | fgrep "git/commits" | sed "s/\/git\//\//g" | awk '{print $NF;}' | tr -d \",); do echo "\n### START: $c ###\n\n"; curl -u michaelhood:$ppp -H "Accept: application/vnd.github.beta.diff" $c; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment