Skip to content

Instantly share code, notes, and snippets.

@nguyenvanhaivn
Forked from milanboers/clone.bash
Created June 26, 2019 07:43
Show Gist options
  • Select an option

  • Save nguyenvanhaivn/d4aa33db77057c1fdb1d43c85c5067ad to your computer and use it in GitHub Desktop.

Select an option

Save nguyenvanhaivn/d4aa33db77057c1fdb1d43c85c5067ad 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