Answers for "how to clone all git repositories"

1

how to clone pull all repositories from github

CNTX={users|orgs}; NAME={username|orgname}; PAGE=1
curl "https://api.github.com/$CNTX/$NAME/repos?page=$PAGE&per_page=100" |
  grep -e 'git_url*' |
  cut -d \" -f 4 |
  xargs -L1 git clone
Posted by: Guest on June-19-2020
0

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
Posted by: Guest on August-16-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language