Updated on 2025-03-13 GMT+08:00

Syncing Repo Settings

Syncing Repo Settings

Table 1 Parameters for syncing repo settings

Parameter

Description

Branch

Mandatory. The options are as follows:

  • Default branch. The master branch automatically created when a code repo is created, for example, the master branch.
  • All branches. All branches in the code repo, including the default branch and other custom branches.

Schedule

Optional. If you select this option, the imported image repository cannot commit code and can only be synced from the source repository periodically. The code is automatically refreshed every 24 hours. The refreshed content is the content of the source repository 24 hours ago.

Table 2 Repository synchronization settings

Parameter

Description

Branch

Mandatory. The options are as follows:

  • Default branch. The master branch automatically created when a code repo is created, for example, the master branch.
  • All branches. All branches in the code repo, including the default branch and other custom branches.

Initial Settings

Optional. If you have enabled CodeArts Check, you are advised to select this option. After the repository is created, you can view the check task of the repository in the CodeArts Check task list.