dcloud git commits compareDiff two refs
IAM git:PullRepositoryRead
Synopsis
dcloud git commits compare repoId --base base --head headArguments
<repoId>Requiredstring
Also accepted as
--repo-id. Constraints: uuid
Flags
--baseRequiredstring
The ref the change is measured against, e.g. the target branch
Constraints: 1-255 chars
--headRequiredstring
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 exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.