Skip to content

Instantly share code, notes, and snippets.

@hothero
Created June 12, 2022 08:10
Show Gist options
  • Save hothero/355a38748d6ccdcd86a7e7bb41f6a149 to your computer and use it in GitHub Desktop.
Save hothero/355a38748d6ccdcd86a7e7bb41f6a149 to your computer and use it in GitHub Desktop.
clone all repos in an organization via gh CLI
gh repo list {org_name} --language Go --limit 500 | grep -v ct- | awk '{print $1}' | xargs -I '$' git clone 'git@github.com:$.git'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment