Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

I imported a project to Bitbucket from Azure DevOps, how can I automate the changes made in ADO.

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?

1 answer

1 accepted

0 votes
Answer accepted

Hi @Osvaldo Guerra Lopez ,

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,734 views 10 16
Read article

Community Events

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

Events near you