GitGraphBranch Class
Creates a branch from the current commit of a Git graph and checks it out (Mermaid branch).
public sealed class GitGraphBranch : GitGraphOperation- Inheritance
GitGraphOperationGitGraphBranch
Constructors
| Name | Description |
|---|---|
| GitGraphBranch(string) | Initializes a new instance of the GitGraphBranch class. |
GitGraphBranch(string)
GitGraphBranch.csInitializes a new instance of the GitGraphBranch class.
public GitGraphBranch(string name)Parameters
namestring- The name of the branch.
Properties
| Name | Description |
|---|---|
| Name | Gets the name of the branch. |
| Order | Gets or sets the position of the branch among the branches, or null for the order of creation (Mermaid order:). |