Updated on 2025-07-24 GMT+08:00

Configuring Repository Synchronization

Overview

CodeArts Repo allows you to sync the settings of the current repository to other repositories as you want.

This function is used for a forked repository because the settings of the original repository are not automatically copied during forking.

Constraints

Table 1 Constraints on configuring synchronization settings

Item

Description

Permission constraint

If you have the set permission on the target repository, you can configure the synchronization settings. For details about how to configure permissions, see Configuring Repo-Level Permissions.

Function constraint

This function supports cross-project synchronization but does not support cross-region synchronization.

Configuring Synchronization Between Repos

If you have enabled Inherit from project, you cannot synch settings.

Only members with the Set permission can perform this operation. Members in the repo can view this page.

Go to the repo homepage and choose Settings > Repo Management > Sync Settings >. Click Add Repository. In the dialog box that is displayed, select the target repository.

Related Document

Common failure causes:
  1. Failed to sync Commit Rules: No commit rules are set for the source repository.
  2. Failed to sync Protected Branches: The branch names of the source repository and target repository are different.