GitRemoteBranch Class

Contains information about the target of a remote git branch.

Inheritance Hierarchy

Syntax

public sealed class GitRemoteBranch

Constructors

Name Description
GitRemoteBranch(GitObjectId target, string name, bool isProtected)

Initializes a new instance of the GitRemoteBranch class.

Properties

Name Description
Name

Gets the name of the branch.

Protected

Gets a value indicating whether the branch is protected.

Target

Gets the target commit of the branch.

Methods

Name Description
ToString