GitGraphCheckout Class
Makes a branch the current branch of a Git graph (Mermaid checkout or switch).
public sealed class GitGraphCheckout : GitGraphOperation- Inheritance
GitGraphOperationGitGraphCheckout
Constructors
| Name | Description |
|---|---|
| GitGraphCheckout(string) | Initializes a new instance of the GitGraphCheckout class. |
GitGraphCheckout(string)
GitGraphCheckout.csInitializes a new instance of the GitGraphCheckout class.
public GitGraphCheckout(string branch)Parameters
branchstring- The name of the branch.
Properties
| Name | Description |
|---|---|
| Branch | Gets the name of the branch. |