March 14, 2019July 9, 2024 Clone all git repos from Organisation Using below command you can clone all the git repos at once. for i in `curl -u USERNAME:TOKEN_HERE -s "https://api.github.com/orgs/ottonova/repos?per_page=200" |grep ssh_url | cut -d ':' -f 2-3|tr -d '",'`; do git clone $i; done
One thought on “Clone all git repos from Organisation”
Comments are closed.