Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Clone all repos under a project to remote server also running BB

Jonathan Vezinat July 27, 2020

I would like to automate pulling/cloning all the repos from one project to another BB instance residing on a remote server.  Currently i see where you can manually, one at a time, clone repos via the web gui.

I have also seen where i can use the rest API.  Is this really not built into bitbucket server?  I would think this would be a feature at this point.  Do i need to script this out on my own?

 

Anyone ever accomplish this? If so, how did you do it?

1 answer

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 29, 2020

It's easy enough to walk an array in bash and run the git command on each element of the array. That's what I would do. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events