new Branch(options)
Branch
This:
Parameters:
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object | Options of branch Properties
|
- Source:
Methods
-
branch(options) → {Branch}
-
Create new branch
This:
Parameters:
Name Type Description optionsString | Object Branch name | Options of Branch
- Source:
- See:
Returns:
New Branch
- Type
- Branch
-
calculColumn()
-
Calcul column
This:
- Source:
-
checkout()
-
Checkout onto this branch
This:
- Source:
-
commit(options)
-
Add a commit
This:
Parameters:
Name Type Argument Description optionsString | Object <optional>
Message | Options of commit
Properties
Name Type Argument Description detailIdString <optional>
Id of detail DOM Element
- Source:
- See:
-
delete()
-
Delete this branch
This:
- Source:
-
merge(target, commitOptions) → {Branch}
-
Merge branch
This:
Parameters:
Name Type Argument Default Description targetBranch <optional>
this.parent.HEAD commitOptionsString | Object <optional>
Message | Options of commit
Properties
Name Type Argument Default Description fastForwardBoolean <optional>
false If true, merge should use fast-forward if possible
- Source:
Returns:
this
- Type
- Branch
-
pushPath()
-
Push a new point to path. This method will combine duplicate points and reject reversed points.
This:
- Source:
-
render()
-
Render the branch
This:
- Source:
-
tag(options)
-
Tag the last commit of the branch.
This:
Parameters:
Name Type Argument Description optionsString | Object <optional>
Message | Options of the tag
Properties
Name Type Argument Description tagString <optional>
Message of the tag
tagColorString <optional>
Color of the tag
tagFontString <optional>
Font of the tag
displayTagBoxBoolean <optional>
If true, display a box around the tag
- Source:
- See: