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 |
---|---|---|
Yes |
Identifier of the desired review (an integer number), or a
|
|
No |
Name of a branch whose changes should be added. Default is the current checkout branch. |
|
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 |
Examples
To upload all differences between the "foo_feature" branch and the "origin/main" repository:
ccollab gitaddbranch new foo_feature origin/main
See Also
Git Integration
ccollab addchangelist (for Git)
ccollab addchanges (for Git)
ccollab addgitdiffs