Skip to content

cub draft diff

cub draft diff

Show what a draft changes that has not landed

Synopsis

Show, for each unit of the draft, what has changed in it since the revision its syncback link last merged: when the draft has not landed, everything the draft has done to the unit since it was cloned. That is what "cub draft land" brings home. Each unit's change is shown path by path with the values on both sides.

Examples:

  cub draft diff acme-base/raise-web-memory
  cub draft diff acme-base/raise-web-memory -o json
cub draft diff <draft> [flags]

Options

      --diff-context    include the unchanged fields around each change
  -h, --help            help for diff
  -o, --output string   Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO

  • cub draft - Draft a change to a space in a space of its own, then land it