IRemote Interface

Summary

Represents a configured Git remote.
Namespace
GitVersion.Git
Interfaces
graph BT Type-.->Interface0["IEquatable<IRemote>"] Type-.->Interface1["IComparable<IRemote>"] Type["IRemote"] class Type type-node

Syntax

public interface IRemote : IEquatable<IRemote>, IComparable<IRemote>

Properties

Name Value Summary
FetchRefSpecs IEnumerable<IRefSpec>
Gets the refspecs used when fetching from this remote.
Name string
Gets the short name of the remote (e.g. origin).
PushRefSpecs IEnumerable<IRefSpec>
Gets the refspecs used when pushing to this remote.
Url string
Gets the URL of the remote repository.

Extension Methods

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