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 |
---|---|---|
No |
Comment used to upload files (defaults to command-line arguments) |
|
Yes |
Identifier of the desired review (an integer number), or a
|
|
No |
Options which should be passed to the |
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 main~8 main~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