Last active
September 4, 2019 20:39
-
-
Save omarciovsena/604d749d8ec1beeff73247e491c083e6 to your computer and use it in GitHub Desktop.
Clone repositories from 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 -H "Authorization: token [[TOKEN]]" 'https://$GITHUB_AT:@api.github.com/orgs/[[ORGANIZATION]]/repos?page=[[PAGE]]&per_page=[[PAGE_SIZE]]' | 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