dcloud git commits compare

Diff two refs

IAM git:PullRepositoryRead

Synopsis

dcloud git commits compare repoId --base base --head head

Arguments

  • <repoId>Required

    string

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

Flags

  • --baseRequired

    string

    The ref the change is measured against, e.g. the target branch

    Constraints: 1-255 chars

  • --headRequired

    string

    The ref with the changes; the diff is what it adds since its merge base

    Constraints: 1-255 chars

Example

dcloud git commits compare repoId --base example --head example

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