dcloud git branches create

Create a branch from a ref

IAM git:PushRepositoryChanges stateAsks before it deletes (-y skips)

Writing through the console is the same act as pushing, so every write route needs git:PushRepository.

Synopsis

dcloud git branches create repoId --name name --from from

Arguments

  • <repoId>Required

    string

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

Flags

  • --nameRequired

    string

    The new branch

    Constraints: 1-255 chars

  • --fromRequired

    string

    The branch, tag or commit id it starts at

    Constraints: 1-255 chars

Example

dcloud git branches create repoId --name example --from example

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