dcloud git commits list

List commits on a ref

IAM git:GetRepositoryRead

Metadata only, which is why this needs GetRepository rather than PullRepository.

Synopsis

dcloud git commits list repoId [flags]

Arguments

  • <repoId>Required

    string

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

Flags

  • --refOptional

    string

    Branch, tag or commit id whose history to list; the default branch when absent

    Constraints: 1-255 chars

  • --pathOptional

    string

    Only commits that changed this file or directory

    Constraints: max 1000 chars

  • --limitOptional

    number

    How many commits to return, newest first; 50 when absent

    Constraints: integer, 1-200

  • --skipOptional

    number

    How many of the newest commits to skip, for paging; 0 when absent

    Constraints: integer, min 0

Example

dcloud git commits list repoId

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