Created
December 21, 2017 21:33
-
-
Save nfisher/2688e4edb46044b11a2cc765486c759d to your computer and use it in GitHub Desktop.
Download PR's as a patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -eu | |
# example usage: ./pr.sh 72 | |
PR_NUM=$1 | |
curl -L "https://github.com/clojure/clojure/pull/${PR_NUM}.patch" \ | |
-o "pr${PR_NUM}.patch" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment