Updated on 2023-08-07 GMT+08:00

Synchronization

To configure repository settings, you can choose Settings > Repository Management > Sync Settings on the repository details page.

This function is used to synchronize the customized settings of the current repository to other repositories. This function supports cross-project synchronization but does not support cross-region synchronization.

This function is used for a repository forked based on the repository because the settings are not automatically copied during forking. For details, see Forking a Repository

Only the repository administrators and owners can view this tab page and configure copy repository settings.

Adding a Synchronization Repository

  1. Click Add Repository. In the dialog box that is displayed, select the target repository.

  2. Click OK. The repository synchronization is complete.

Common Failure Causes

  • Failed to synchronize Commit Rules: No commit rules are set for the source repository.
  • Failed to synchronize protected branches: The branch names of the source repository and target repository are different.