Skip to content

Instantly share code, notes, and snippets.

@appleguru
Created November 1, 2019 17:23
Show Gist options
  • Save appleguru/db524692f25ad77d9d6976f68af0d84c to your computer and use it in GitHub Desktop.
Save appleguru/db524692f25ad77d9d6976f68af0d84c to your computer and use it in GitHub Desktop.
Clone all GitHub repos in an organization
curl -u [username] -s https://api.github.com/orgs/[organization]/repos\?per_page=200 | grep -e 'clone_url*' | cut -d \" -f 4 | xargs -L1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment