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.
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events