Skip to content

getRemote

Get remote from repository.

Signature

ts
class Repository {
  getRemote(name: string): Remote;
}

Parameters

  • namerequired · string

Returns

  • Remote

    Remote instance.

Errors

  • Error

    Throws error if remote does not exist.

Released under the MIT License.