Skip to content

Instantly share code, notes, and snippets.

@gelysis
Created September 13, 2017 01:59
Show Gist options
  • Save gelysis/03fad3e24eadfcce081cc733a5fcffb5 to your computer and use it in GitHub Desktop.
Save gelysis/03fad3e24eadfcce081cc733a5fcffb5 to your computer and use it in GitHub Desktop.
curl -u [[USERNAME]] -s https://api.github.com/orgs/[[ORGANIZATION]]/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