curl "https://api.github.com/orgs/orgname/repos?page=1&per_page=100" |
grep -e 'ssh_url*' |
cut -d \" -f 4 |
xargs -L1 git clone- Replace the
orgnamewith the organization name. - Replace
ssh_urlwithclone_urlto use HTTPS instead of SSH.
curl "https://api.github.com/orgs/orgname/repos?page=1&per_page=100" |
grep -e 'ssh_url*' |
cut -d \" -f 4 |
xargs -L1 git cloneorgname with the organization name.ssh_url with clone_url to use HTTPS instead of SSH.curl "https://api.github.com/users/username/repos?page=1&per_page=100" |
grep -e 'ssh_url*' |
cut -d \" -f 4 |
xargs -L1 git cloneReplace the username with your own.
ssh_url with clone_url to use HTTPS instead of SSH.