Skip to content

Instantly share code, notes, and snippets.

@armcknight
Last active February 10, 2016 20:46
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 armcknight/959bd72441556e853087 to your computer and use it in GitHub Desktop.
Save armcknight/959bd72441556e853087 to your computer and use it in GitHub Desktop.
Checkout all repos in a Github organization
curl --silent -X "GET" "https://api.github.com/orgs/<org>/repos" -H "Accept: application/vnd.github.v3+json" -u <github-username>:<access-token> | grep ssh_url | awk '{ print $2 }' | tr -d \"\, | xargs -I {} git clone {} --recurse-submodules
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment