Applies to Collaborator 13.0, last modified on July 29, 2020


The ccollab adddiffs command uploads differences between arbitrary versions of files to a review on the Collaborator server.

Command Line Syntax

ccollab [global-options] adddiffs [--relative] [--upload-comment <value>] <review> <before> [<after>]

Command Options






Upload as paths relative to the before or after directory

--upload-comment <value>


Comment used to upload files



Identifier of the desired review (an integer number), or a new, ask, or last keyword. Where keywords define the following behaviour:

  • new - the command will create a new review,
  • ask - the command will pause execution and prompt for the identifier of the desired review,
  • last - the command will use the last review that was created on the current machine via Command-Line Client (that is, it does not know about reviews created elsewhere).



If after is also given, a directory of files to treat as base files or file to use as base file (before changes were made).

If no after argument is given, this is a file containing multi-file textual diffs, or '-' to read diffs from stdin



Directory of files to scan for differences or file to use as modified file(after changes have been made)


  • The following command uploads difference between files .\before and .\after to the last review:

adddiffs last .\before .\after --upload-comment "Example comment"

See Also

ccollab addchanges
ccollab addchangelist
ccollab addversions
ccollab addfiles
ccollab commit

Highlight search results