dcloud git tag-protection createProtect a tag pattern
IAM git:ManageBranchProtectionChanges stateAsks before it deletes (-y skips)
Synopsis
dcloud git tag-protection create repoId --pattern patternArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--patternRequiredstring
Tag name or glob, e.g. v* or release-*; matching tags need git:PushProtectedTag
Constraints: 1-200 chars, /^[A-Za-z0-9._/*+-]+$/
Example
dcloud git tag-protection create repoId --pattern exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.