GitGraphCheckout Class

Makes a branch the current branch of a Git graph (Mermaid checkout or switch).

public sealed class GitGraphCheckout : GitGraphOperation
Inheritance
GitGraphOperation GitGraphCheckout

Constructors

NameDescription
GitGraphCheckout(string)Initializes a new instance of the GitGraphCheckout class.

GitGraphCheckout(string)

GitGraphCheckout.cs

Initializes a new instance of the GitGraphCheckout class.

public GitGraphCheckout(string branch)

Parameters

branch string
The name of the branch.

Properties

NameDescription
BranchGets the name of the branch.

Gets the name of the branch.

public string Branch { get; }

Property value

string