Skip to content

Instantly share code, notes, and snippets.

@darookee
Created October 9, 2012 16:41
Show Gist options
  • Select an option

  • Save darookee/3859951 to your computer and use it in GitHub Desktop.

Select an option

Save darookee/3859951 to your computer and use it in GitHub Desktop.
Clone all your github repos in one go
USERNAME="XXX" curl -s "https://api.github.com/users/${USERNAME}/repos" | 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