Hi,
We are evaluating Stash to help us manage our git repositories. Right now we have a single projet which is using a little over 300 git repositories. We'd like to import them in our Stash project. How can this be done?
Thanks
Hi Francois,
There is no out-of-the box support for bulk importing of repositories just yet, but each of the steps in the process is fully scriptable. The basic steps are as follows:
We have an experimental command-line importer that supports bulk imports of a set of repositories on the local disk. You could experiment with this importer or use it as a starting point and customize it to your situation: https://bitbucket.org/atlassianlabs/stash-importer/src/ca40b471af1af673401900175a7ac5777ae8f960/src/main/resources/?at=master
If you decide to script it yourself, have a look at the following documentation:
Cheers,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.