Updated on 2023-12-04 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

Developers or roles with higher permissions can view this page. However, only the repository administrator and owner have the operation permission.

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.