Last active
June 15, 2018 19:12
-
-
Save bmacauley/ff921c5a1444e94093f1a7bad295d243 to your computer and use it in GitHub Desktop.
Clone github org repos
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
# export GITHUB_ORG=<github org>;curl -s https://[email protected]/orgs/$GITHUB_ORG/repos | jq '.[].ssh_url' | xargs -n 1 git clone | |
curl -s https://api.github.com/orgs/$GITHUB_ORG/repos | jq '.[].ssh_url' | xargs -n 1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment