Skip to content

Instantly share code, notes, and snippets.

@gofullthrottle
Forked from milanboers/clone.bash
Last active December 9, 2018 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gofullthrottle/7c09048bbe821cba8cbb1f21bb54ff83 to your computer and use it in GitHub Desktop.
Save gofullthrottle/7c09048bbe821cba8cbb1f21bb54ff83 to your computer and use it in GitHub Desktop.
Clone all repositories of a Github user
curl -s https://api.github.com/users/INSERT_USER/repos?per_page=200 | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment