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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Powering DevOps with Bitbucket Server & Data Center

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 ...

2,564 views 1 9
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