Code repository settings

更新时间: 2026-06-04 21:34:55

Configure repository basics, branch protection, push rules, webhooks, and other settings in Alibaba Cloud DevOps Codeup.

Basic settings

Modify basic information

Repository or organization administrators can modify the repository name, description, cover image, and visibility level through Global Settings > Repository Settings or the Settings page of each repository.

  • Adjust repository visibility level: If the Allow Repository Administrator to Change Visibility Level to Visible to Organization option is not selected in Global Settings > Repository Settings, the Visible to Organization option in individual repository Settings is grayed out for repository administrators. A notification indicates that the organization does not support the visibility level settings. Contact an organization administrator to configure this setting. Organization administrators are not affected by this restriction.

High-risk operations

In the Basic settings of each repository, you can perform high-risk operations such as:

  • Modify Repository Path: Change the URL path used to access the repository.

  • Transfer Repository: Move the repository to a different group.

  • Archive Repository: Set an inactive repository to read-only.

  • Delete Repository: Delete with a grace period, allowing recovery of accidentally deleted repositories.

Storage space management

When a repository approaches the 5 GB storage limit, use repository GC to compress storage objects and reduce disk usage.

Branch settings

Feature description

Repository administrators can configure the default branch and protected branch rules on the Branch Settings page.

  • Default Branch: The branch used by default for cloning, branch creation, and merge requests. Cannot be deleted.

  • Protected Branch Rule: Restrict branch deletion and force pushes to protect important branches. For more information, see Branch settings.

Push rules settings

Codeup push rule settings let you create custom rules to validate commits before they are pushed. Operations include creating push rules, performing rule-based checks on commits, verifying commit email addresses, restricting force pushes, and checking code owners. You can inherit organization-level rules for consistency.

Push review mode

Push review mode lets you initiate code reviews directly via git push, without creating a branch or switching to a browser.

Branch tag review pattern

This Pro-exclusive feature manages branch and tag modifications through reviews, preventing unauthorized creation or deletion. Once activated, even users with write access must create a review to make changes. Branch and tag review.

Webhooks settings

Webhooks call a specified URL in response to events such as code pushes or reviews, enabling CI builds, image backups, and production deployments.

Deployment key settings

Deployment keys are SSH keys that grant read-only access to a specific repository without a password. For security, use deployment keys with an IP whitelist. Deploy key settings.

Integration and service

The integration and service module generates measure reports that help development managers identify risks, pinpoint bottlenecks, and track team contributions. Integrations and services.

Proper repository settings improve code management security and team collaboration efficiency.

上一篇: Administrator settings 下一篇: Basic settings
阿里云首页 云效 相关技术圈