Summary
Represents the set of remotes configured for a Git repository.
- Assembly
- GitVersion
.Core .dll - Namespace
- GitVersion
.Git - Interfaces
-
- IEnumerable
<IRemote> - IEnumerable
- IEnumerable
graph BT
Type-.->Interface0["IEnumerable<IRemote>"]
Type-.->Interface1["IEnumerable"]
Type["IRemoteCollection"]
class Type type-node
Syntax
public interface IRemoteCollection : IEnumerable<IRemote>, IEnumerable
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| Default |
Properties
| Name | Value | Summary |
|---|---|---|
| this[string] | IRemote |
Returns the remote with the given name, or
null if it does not exist. |
Methods
| Name | Value | Summary |
|---|---|---|
| Remove |
void |
Removes the remote identified by remoteName from the repository configuration.
|
| Update |
void |
Adds or updates the fetch refspec for the remote identified by remoteName.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|