Help Center/ CodeArts Repo/ User Guide/ Configuring a Repository/ Configuring Repository Settings
Updated on 2024-11-22 GMT+08:00

Configuring Repository Settings

Configuring Synchronization Between Repos

CodeArts Repo allows you to synch the current repo settings to other repos across projects but not regions.

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

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.

  • Ensure that the network connection is normal before synchronizing a repository.
    • CodeArts Repo supports accessing other public platforms' to code repos.
    • For private repository platforms on the intranet, ensure that the network connection between CodeArts Repo and your repository is normal.
  • 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.