Updated on 2024-07-05 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

All repository members can view this page. For details about whether a repository member has repository setting permissions, refer to the Permissions page.

Adding a Synchronization Repository

Ensure that the network connection is normal before synchronizing a repository.

  • For public platforms, CodeArts Repo supports access to code repositories.
  • For private repository platforms on the intranet, ensure that the network connection between CodeArts Repo and your repository is normal.
  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.