We currently run Azure DevOps on premise and are looking to migrate to Jira/BitBucket in the cloud. It looked fairly straight forward but I can't seem to get BitBucket to connect to my DevOps server to import the GIT repos. I have followed several tickets here and with no luck. I have used both regular creds as well as attempting to use the PAT creds. Does anyone have any experience moving repos? In the end I know I can just export to zip and start fresh but I would like to retain the revision history if at all possible. In case it helps I the version we are running on prem is Dev17.M153.5
Hi @shawnatvelocit
Welcome to the community!
If I understand this correctly you wish to import your Git repositories from your OnPremis DevOps to Bitbucket. You have tried using the Importer tool but you are failing to get the correct credentials?
If yes, have you tried using the following URL example to import?
https://username@<your-domain>/<your git repositories>
Make sure the path is following your clone URL path.
If you still failing to import the repositories another workaround would be to push your bare repositories over to the Bitbucket cloud. You can follow these steps:
git clone --mirror https://<your-domain>/<your git repositories>
git remote set-url origin https://bitbucket.org/<Workspacename>/<Repositories-name>
I hope this helps, let me know if you have any additional questions.
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.