Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bobhenkel/847620389227690f415be6675f21a2f8 to your computer and use it in GitHub Desktop.
Save bobhenkel/847620389227690f415be6675f21a2f8 to your computer and use it in GitHub Desktop.
Clone all repos from a GitHub organization
curl -s https://api.github.com/orgs/twitter/repos?per_page=200 | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each { |repo| %x[git clone #{repo["ssh_url"]} ]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment