Created
March 5, 2021 13:37
-
-
Save viniciusjssouza/f0c9ffaf19e3c8ef470b75a8db4d5e57 to your computer and use it in GitHub Desktop.
Clone all repos of an organization
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
| curl -u $USERNAME:$PASSWORD -s https://api.github.com/orgs/$ORG/repos?per_page=200 | jq -rc '.[] | {ssh_url} | .ssh_url' | parallel -n 1 git clone {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment