Last active
April 22, 2017 16:17
-
-
Save kstarzyk/a815633a6fc50e30184047607a4a7ba1 to your computer and use it in GitHub Desktop.
Clone all user repositories from github [one-liner]
This file contains hidden or 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
curl https://api.github.com/users/<GITHUB_LOGIN>/repos | grep "clone" | grep -oE "https:(.*).git" | xargs -l bash -c 'git clone $0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment