Skip to content

Instantly share code, notes, and snippets.

Revisions

  1. mikeselander revised this gist May 10, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion clone-all-twitter-github-repos.sh
    Original file line number Diff line number Diff line change
    @@ -1 +1 @@
    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"]} ]}'
    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["clone_url"]} ]}'
  2. @caniszczyk caniszczyk created this gist Oct 9, 2012.
    1 change: 1 addition & 0 deletions clone-all-twitter-github-repos.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    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"]} ]}'