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

How can I setup a fork sync in btibucket cloud

We have one base software repo that we fork to new repos in other projects in the same workspace. Each project is a customisation repo for a client. we should be able to sync any changes from the parent to its child repo's so that fixes/changes can be migrated easily. But I don't find any documentation on how this is done in Bitbucket Cloud only for bitbucket server. Where is this feature hidden? and if it is not available what would be a good workaround?

1 answer

0 votes
Ana Retamal Atlassian Team Oct 14, 2020

Hi Adriaan, welcome to the Community!

This can be done as a manual process. The changes you make to the parent won't appear in the other repositories automatically, but you can make use of the Sync button. This is explained in our documentation:

These changes do not appear in your fork automatically; you need to sync the fork in order to pull in any outstanding commits.  

  1. Access the fork.

  2. If your fork is behind on commits, the Sync button displaying the number of outstanding commits will be displayed at the bottom of the Repository details pane on the rightmost sidebar.

  3. To sync your fork with the original repository, click the Sync button at the bottom of the Repository details pane.

  • Only the main branch of the repository is synced with your fork. No other branch changes will be detected or available to sync.

  • To sync branches that are not the main branch of the repository, you need to select the branch you want to sync as the main branch on both the parent and forked repository. Once you do this the Sync button will be displayed in the Repository details pane on the rightmost sidebar of the repository's Source page.

 

Was this the feature you were looking for?

I hope this helps you, Adriaan :) If you have any other questions, let us know and we'll be happy to assist.

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
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,736 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