Last active
March 4, 2021 19:16
-
-
Save jonschlinkert/093bcdc74f5e74556d7ec1d26d7af7c0 to your computer and use it in GitHub Desktop.
Clone all repos for the given user/org. Just replace <USERNAME> and run this in the command line.
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 -s https://api.github.com/users/<USERNAME>/repos?per_page=100 | ruby -rjson -e 'JSON.load(STDIN.read).each {|repo| %x[git clone #{repo["clone_url"]} ]}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment