ccollab addgitdiffs

Top  Previous  Next

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

 

addgitdiffs - Uploads diffs generated by git diff command

 

Command Options

Option

Required?

Description

--upload-comment <value>

N

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

<review>

Y

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

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

N

Command-line arguments to pass directly to the diff command

 

Upload differences between arbitrary versions of files in Git using 'git diff'.

 

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

 

For example, 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