dcloud git commits list-files

List the files a commit changes, in pages

IAM git:PullRepositoryRead

Paged: a large change is read a page of files and a page of rows at a time, never as one payload. A file with more than 1,500 changed lines, or a lock file or build output, has `collapsed` set (the console folds it until asked); a file whose patch is over 16 MiB answers `state: too-large`. Lines longer than 10,000 characters are cut, with the number left out in `cut`.

Synopsis

dcloud git commits list-files repoId sha [flags]

Arguments

  • <repoId>Required

    string

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

  • <sha>Required

    string

    Also accepted as --sha. Constraints: 1-255 chars

Flags

  • --cursorOptional

    number

    `nextCursor` of the previous page; the first page when absent

    Constraints: integer, min 0

  • --limitOptional

    number

    Files per page, at most 1000; 500 when absent

    Constraints: integer, 1-1000

  • --ignore-whitespaceOptional

    enum

    `true` to count lines as if whitespace did not matter (`git diff -w`); false when absent

    One of: true, false

Example

dcloud git commits list-files repoId sha

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