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 |
Must be either an integer review-id, 'new', 'ask', or 'last' |
|
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/master" repository:
ccollab gitaddbranch new foo_feature origin/master
See Also
Git Integration
ccollab addchangelist (for Git)
ccollab addchanges (for Git)
ccollab addgitdiffs