Skip to content

Instantly share code, notes, and snippets.

@wires
Created May 30, 2017 02:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wires/5a79b7f6c8f6007575efd2897cffb558 to your computer and use it in GitHub Desktop.
Save wires/5a79b7f6c8f6007575efd2897cffb558 to your computer and use it in GitHub Desktop.
cloning all github repos of some organisation
curl -u username https://api.github.com/orgs/ORG/repos > repos.json
cat repos.json | jq ".[].ssh_url" | xargs -L 1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment