I imported my repo from Azure DevOps to Bitbucket. If I make changes to my ADO repo, the changes will not be reflected in Bitbucket. How can I automate these changes?
I figured that if I made the same import I could have this done, but now I would have 'n' repositories in Bitbucket and I would need to be erasing. Is there an easier way to do this?
I assume that you are using Bitbucket Cloud (and not Server)?
The importer only imports a Git repo from another Git-based hosting site, it does not sync the imported repo with the original one.
If you would like to keep them in sync, you can take a mirror clone of the Azure repo, add in the clone a second remote with the URL of the Bitbucket repo, and then push to the Bitbucket repo.
You can take a look here for a more detailed explanation:
You could create a script and run it at fixed times.
If you search on the internet "git script to sync repos", you'll find that several users have created and shared scripts they are using. You could perhaps take a look and see if any of these works for you as well.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.