Skip to content

Instantly share code, notes, and snippets.

@danwdart
Last active October 13, 2015 02:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danwdart/4122320 to your computer and use it in GitHub Desktop.
Save danwdart/4122320 to your computer and use it in GitHub Desktop.
Clones all the repos of a github user (via git+ssh)
wget -O- https://api.github.com/users/$1/repos 2>/dev/null | grep ssh_url | cut -d '"' -f 4 | awk '{ print "git clone " $0 }' | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment