Skip to content

Instantly share code, notes, and snippets.

@WooodHead
Forked from milanboers/clone.bash
Created January 27, 2021 04:40
Show Gist options
  • Save WooodHead/92055b22482234fd3871d5ab04c701ef to your computer and use it in GitHub Desktop.
Save WooodHead/92055b22482234fd3871d5ab04c701ef to your computer and use it in GitHub Desktop.
Clone all repositories of a Github user
curl -s https://api.github.com/users/milanboers/repos | 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