dcloud git branch-protection list

List branch protection rules

IAM git:GetRepositoryRead

Synopsis

dcloud git branch-protection list repoId

Arguments

  • <repoId>Required

    string

    Also accepted as --repo-id. Constraints: uuid

Example

dcloud git branch-protection list repoId

Generated from the API description, the same one the API checks requests against and the CLI is built from.