Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Clone all repos for the given user/org. Just replace <USERNAME> and run this in the command line.
curl -s<USERNAME>/repos?per_page=100 | ruby -rjson -e 'JSON.load( {|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