Hi all, i 'm quite new with bitBucket, but i have to move a repository from one location to another. The old repository is hosted on bitbucket 4.14, and the new one should be on bitbucket 5.16.
I follow the following wizard, in the web console, click on "import" after i choose GIT and
insert:
1. Clone URL
2.Username
3.Password
and click on "Import repository" after some time i get the message: "Import failed, the repository was not imported"
Can i have some tips on how i can handle it?
thanks
Welcome to the Atlassian Community.
If you are only moving one repository you can use this command to create a clone from your old server:
git clone --mirror <url repo>
Then go onto your new Bitbucket Server and setup a new repository. Once that is done, add the URL to your clone:
git remote add new_origin <url to NEW repo>
Now push everything to your new Bitbucket Server:
git push new_origin --all
git push --tags
Note that you can name new_origin something else if you want to, it is just a short name for the URL to the new server.
Also note that this will not move any of repository settings, pull requests etc that you have on your old server. In order to do that follow this guideline, Migrating Bitbucket Server to another server.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.