Is synchronization possible between two different repo?

I tried to synchronize my repo with another friend's repo. I google out and also tried to use "Transfer" option provided by the Bitbucket. But this option will totally transfer code to new source which I don't want.

I too have attached image which will clarify my question.bitbucket_question.jpg


So my question, is it possible to Sync Repo1 and Repo 2 automatically when any one of the repo is updated? 

4 answers

Nice diagram. :)

Are these Git or Mercurial (Hg) repos? Do either of them have the Bitbucket repository set as a remote (or are they both Bitbucket repositories themselves?)

These are Git repos. Owner A and Owner B has created different Bitbucket Id. Under those Ids, Repo1 and Repo2 repos are created.

As far as I know, there is no way to do this automatically. if you had a user who set up both Bitbucket repos as remotes of the same local repo, he could keep them in sync by pulling/pushing as necessary.

Sounds like you're trying to get around Bitbucket's user limit on free accounts.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,755 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you