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?
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.
Access the fork.
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.
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.
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...
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