Created
June 12, 2022 08:10
-
-
Save hothero/355a38748d6ccdcd86a7e7bb41f6a149 to your computer and use it in GitHub Desktop.
clone all repos in an organization via gh CLI
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
gh repo list {org_name} --language Go --limit 500 | grep -v ct- | awk '{print $1}' | xargs -I '$' git clone '[email protected]:$.git' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment