Created
June 25, 2013 11:31
-
-
Save coldclimate/5857788 to your computer and use it in GitHub Desktop.
Find which repo each of your PRs was destined for using GitHubAPI + JQ
This file contains 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
for i in `seq 1 170`; do RESULT=`curl -s -u username:password "https://api.github.com/repos/owner/repo/pulls/${i}" | jq '.base | {ref}'| grep ref`; echo "${i}:${RESULT}";done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment