Summary
Represents the set of all branches in a Git repository.
- Namespace
-
GitVersion
.Git - Interfaces
-
-
IEnumerable
<IBranch>
-
IEnumerable
graph BT Type-.->Interface0["IEnumerable<IBranch>"]
Type["IBranchCollection"] class Type type-node
Syntax
public interface IBranchCollection : IEnumerable<IBranch>
Properties
| Name | Value | Summary |
|---|---|---|
| this[string] | IBranch |
Returns the branch with the given
name, or
null if it does not exist.
|
Methods
| Name | Value | Summary |
|---|---|---|
|
ExcludeBranches |
IEnumerable |
Returns all branches except those in
branchesToExclude.
|
|
UpdateTrackedBranch |
void |
Updates the remote-tracking branch reference for
branch to
point to
remoteTrackingReferenceName.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
|
NotNull |
T |
Throws
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|