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

9 thoughts on “Clone all git repos from Organisation”

  1. Pingback: wix seo
  2. Pingback: wix seo
  3. Pingback: wix seo
  4. Pingback: wix seo
  5. Pingback: wix seo experts

Comments are closed.