GitGraphMerge Class
Merges a branch into the current branch of a Git graph with a merge commit (Mermaid merge).
public sealed class GitGraphMerge : GitGraphOperation- Inheritance
GitGraphOperationGitGraphMerge
Constructors
| Name | Description |
|---|---|
| GitGraphMerge(string) | Initializes a new instance of the GitGraphMerge class. |
GitGraphMerge(string)
GitGraphMerge.csInitializes a new instance of the GitGraphMerge class.
public GitGraphMerge(string branch)Parameters
branchstring- The name of the branch to merge.
Properties
| Name | Description |
|---|---|
| Branch | Gets the name of the branch to merge. |
| Id | Gets or sets the identifier of the merge commit, or null to generate one. Only an explicit identifier is drawn. |
| Tags | Gets the tags, drawn above the merge commit. |
| Type | Gets or sets the type that replaces the symbol of a merge commit, or null for the merge symbol. |
Branch
GitGraphMerge.csTags
GitGraphMerge.csGets the tags, drawn above the merge commit.
Property value
Type
GitGraphMerge.csGets or sets the type that replaces the symbol of a merge commit, or null for the merge symbol.
public GitGraphCommitType? Type { get; set; }