Summary
Represents a configured Git remote.
- Assembly
- GitVersion
.Core .dll - 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>
Attributes
| Type | Description |
|---|---|
| Nullable |
Properties
| Name | Value | Summary |
|---|---|---|
| FetchRefSpecs | IEnumerable |
Gets the refspecs used when fetching from this remote.
|
| Name | string |
Gets the short name of the remote (e.g.
origin). |
| PushRefSpecs | IEnumerable |
Gets the refspecs used when pushing to this remote.
|
| Url | string |
Gets the URL of the remote repository.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| NotNull |
T |
Throws
System.ArgumentNullException when value is null; otherwise returns the value.From CommonExtensions
|