ccollab gitaddbranch

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

Description

The ccollab gitaddbranch command uploads all differences between the given branch and the remote branch being tracked for changes.

Command Line Syntax

ccollab [global-options] gitaddbranch <review> [<branch>] [<upstream>]

Command Options

Option

Required?

Description

<review>

Yes

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

<branch>

No

Name of a branch whose changes should be added. Default is the current checkout branch.

<upstream>

No

Name of the remote-tracking branch to be compared against. If omitted, Collaborator will try the default upstream branch (which was set via the git branch --set-upstream-to command-line key).

Examples

To upload all differences between the "foo_feature" branch and the "origin/master" repository:

ccollab gitaddbranch new foo_feature origin/master

See Also

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

Highlight search results