Skip to content

GitRemote

Defined in: remote.ts:2

A parsed remote URL.

host: string

Defined in: remote.ts:4

The host name, without credentials, port or IPv6 brackets.


owner: string

Defined in: remote.ts:6

Everything before the repo name: owner, or group/subgroup on hosts with nested groups.


repo: string

Defined in: remote.ts:8

The repository name, without a trailing .git.


slug: string

Defined in: remote.ts:10

owner/repo.