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

3 replies on “Clone all git repos from Organisation”

Leave a Comment
  1. Reply

    I have learn a few just right stuff here. Definitely value bookmarking for revisiting. I wonder how much effort you place to make this sort of wonderful informative website.

  2. Reply

    It is in point of fact a nice and useful piece of info. I am happy that you shared this helpful information with us. Please keep us informed like this. Thanks for sharing.

Leave a Comment

Your email address will not be published.

You may use these HTML tags and attributes: <a href=""> <abbr> <acronym> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Send a Message