Skip to content

Instantly share code, notes, and snippets.

@emberdart
Last active October 13, 2015 02:07
Show Gist options
  • Select an option

  • Save emberdart/4122320 to your computer and use it in GitHub Desktop.

Select an option

Save emberdart/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