dcloud git pulls create

Open a pull request

IAM git:CreatePullRequestChanges state

Synopsis

dcloud git pulls create repoId --title title --source-branch sourceBranch --target-branch targetBranch [flags]

Arguments

  • <repoId>Required

    string

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

Flags

  • --titleRequired

    string

    The title

    Constraints: 1-200 chars

  • --bodyOptional

    string

    The description (Markdown)

    Constraints: max 20000 chars

  • --source-branchRequired

    string

    The branch with the changes

    Constraints: 1-255 chars

  • --target-branchRequired

    string

    The branch to merge them into

    Constraints: 1-255 chars

  • --is-draftOptional

    boolean (--is-draft / --no-is-draft)

    Open it as a draft, which cannot be merged until marked ready; false when absent

Example

dcloud git pulls create repoId --title example --source-branch example --target-branch example

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