IRemoteCollection Interface

Summary

Represents the set of remotes configured for a Git repository.
Namespace
GitVersion.Git
Interfaces
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(string) void
Removes the remote identified by remoteName from the repository configuration.
Update(string, string) void
Adds or updates the fetch refspec for the remote identified by remoteName.

Extension Methods

Name Value Summary
NotNull<IRemoteCollection>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub