Updated on 2023-05-06 GMT+08:00

Copy Repository Settings

You can copy the settings of a repository to another repository in the same project.

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

To configure copy repository settings, choose Settings > Repository Management > Copy Repository Settings on the repository details page.

Only the repository administrators and owners can view this tab page and configure copy repository settings.

Common Failure Causes

  • Failed to copy commit rules: No commit rules are set for the source repository.
  • Failed to copy default and protected branches: The branch names of the source repository and target repository are different.