Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to clone all git repositories

GHUSER=CHANGEME; curl "https://api.github.com/users/$GHUSER/repos?per_page=1000" | grep -o 'git@[^"]*' | xargs -L1 git clone
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #clone #git #repositories
ADD COMMENT
Topic
Name
1+4 =