ccollab addgitdiffs

Applies to Collaborator 11.5, last modified on December 21, 2021

Description

The ccollab addgitdiffs command uploads differences between arbitrary versions of files in Git. The differences are generated using the native git diff command of Git.

Command Line Syntax

ccollab [global-options] addgitdiffs [--upload-comment <value>] <review> [<git-diff-arg> [<git-diff-arg> ...]]

Command Options

Option

Required?

Description

--upload-comment <value>

No

Comment used to upload files (defaults to command-line arguments)

<review>

Yes

Must be either an integer review-id, 'new', 'ask', or 'last'

<git-diff-arg> [<git-diff-arg> ...]

No

Options which should be passed to the git diff command

Remarks

Do not use diff arguments that affect the diff output such as -U unified. The Collaborator command-line client will automatically select an output format that ensures you will get all the data you need on the server.

Examples

To upload all changes between the revision 8 revisions ago and the revision 4 revisions ago:

ccollab addgitdiffs review master~8 master~4

To upload all changes in your local working directory:

ccollab addgitdiffs review

See Also

Git Integration
ccollab addchangelist (for Git)
ccollab addchanges (for Git)
ccollab gitaddbranch

Highlight search results