Skip to content

@saflib/git


Interface: GitRef

Properties

hash

hash: string

Object hash the ref points to.


name

name: string

Short ref name (e.g. main, feature/foo) without refs/heads/ / refs/tags/.


type

type: "branch" | "tag"