Remote - SwiftDocOrg/Git GitHub Wiki

Remote

public class Remote

Initializers

init(name:​url:​)

Creates a detatched remote with the specified name and url.

public convenience init(name:​ String? = nil, url:​ URL) throws

Parameters

  • name:​ The name of the remote, if any.
  • url:​ The url of the remote.