Skip to content

GitRef

Defined in: git/git.ts:7

A git reference (such as a branch) and the object it points at.

object: object

Defined in: git/git.ts:9

The object the reference points at.

sha: string

The object’s SHA.

type: string

The object’s type, e.g. commit.

url: string

The API URL of the object.


ref: string

Defined in: git/git.ts:18

The full reference name, e.g. refs/heads/main.


url: string

Defined in: git/git.ts:20

The API URL of the reference.