Last active
December 26, 2018 20:23
-
-
Save RaminMammadzada/44120d0056902de4f02c1d921f45d2c5 to your computer and use it in GitHub Desktop.
Script to clone all of the repos at once
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Script: | |
curl -s https://api.github.com/users/user/repos | grep \"clone_url\" | awk '{print $2}' | sed -e 's/"//g' -e 's/,//g' | xargs -n1 git clone | |
More info: | |
https://blog.scottlowe.org/2018/07/19/cloning-all-repositories-in-a-github-organization/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment