Summary
Represents the set of remotes configured for a Git repository.
- Namespace
-
GitVersion
.Git - Interfaces
-
-
IEnumerable
<IRemote>
-
IEnumerable
graph BT Type-.->Interface0["IEnumerable<IRemote>"]
Type["IRemoteCollection"] class Type type-node
Syntax
public interface IRemoteCollection : IEnumerable<IRemote>
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
ArgumentNullException when
value is
null; otherwise returns the
value.
From
CommonExtensions
|