Version Control Integrations > Git Integration

Top |Previous |Next

Command-Line Client

Commands recommended for Git

ccollab addchanges - Attaches locally-modified files to a review.

ccollab addchangelist - Attaches an atomic changelist to a review.

ccollab addgitdiffs - Uploads differences generated by git diff command.

ccollab gitaddbranch - Uploads all differences between the specified branch and the remote-tracking branch.

 

Configuration

In most cases, the Command-Line Client can automatically detect your Git configuration. Try testing your configuration to verify the configuration is detected correctly.

If the Command-Line Client is unable to detect your Git configuration or you want to override the detected settings, you can manually specify Git settings using global options.

To manually configure the Command-Line Client to use Git, execute the following command:

ccollab set scm git

 

Git-specific Options

Option

Description

--git-exe <value>

Full path to the 'git' command line client

--git-skip-index

Defines whether the changes you upload via the ccollab addchanges command should be taken from the working tree (including not-yet-committed changes) instead of from the index. This is an analogue of the git commit -a command.


© 2003-2025 SmartBear Software. All rights reserved.