Git - Clone Repositories in Bulk

2019-09-10 01:03发布

问题:

I just joined a company that has a git server (hosted through bitbucket), which has about 80 projects which have multiple repositories under each project (lets say 5 for easy math). Is there an easy way to recursively clone all 400 of these repositories?

回答1:

You will have to script hat yourself.

You can get a list of the repositories from the BitBucket API. Then just loop through them an clone each one.



标签: git bitbucket