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

How can I setup a fork sync in btibucket cloud

Adriaan Peeters October 7, 2020

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
Atlassian Team members are employees working across the company in a wide variety of roles.
October 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

김영화 September 14, 2022

@Ana Retamal Hi Ana.

Is there any snapshots or pictures for "the bottom of the Repository details pane on the rightmost sidebar" ? I was wondering how to click the sync button in details.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events