Forked from caniszczyk/clone-all-twitter-github-repos.sh
Last active
November 26, 2015 06:07
-
-
Save gld1982ltd/658b64eef0aaf66da7e4 to your computer and use it in GitHub Desktop.
Clone all repos from a GitHub organization
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
user="gld1982ltd" | |
curl -s https://api.github.com/users/$user/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