Skip to content

Instantly share code, notes, and snippets.

@benbalter
Created October 23, 2012 17:43
Show Gist options
  • Save benbalter/3940288 to your computer and use it in GitHub Desktop.
Save benbalter/3940288 to your computer and use it in GitHub Desktop.
Clone all Repos in a GitHub Organization
curl -s "https://api.github.com/orgs/project-open-data/repos?per_page=100" | ruby -rubygems -e 'require "json"; JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["clone_url"]} ]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment