Posted on Leave a comment

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 "" |grep ssh_url | cut -d ':' -f 2-3|tr -d '",'`; do git clone $i; done

Facebook Comments Box
Leave a Reply

Your email address will not be published. Required fields are marked *