Forked from caniszczyk/clone-all-twitter-github-repos.sh
Last active
January 8, 2023 13:56
-
-
Save mirstan/0e6caad198b926905d923e12afef0460 to your computer and use it in GitHub Desktop.
Clone all repos from a GitHub organization
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
#This worked for me and assumes that you've installed gh and jq then authenticated using gh auth login : | |
gh repo list $ORG --limit 9999 --json sshUrl | jq '.[]|.sshUrl' | xargs -n1 git clone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment