Skip to content

RepoLsRemoteOpts

RepoLsRemoteOpts = object

Defined in: src/core/repo.ts:109

Options for repository-scoped git ls-remote

Properties

getUrl?

optional getUrl: boolean

Defined in: src/core/repo.ts:117

Show remote URL instead of listing refs


heads?

optional heads: boolean

Defined in: src/core/repo.ts:111

Limit to refs/heads (branches)


refs?

optional refs: string[]

Defined in: src/core/repo.ts:123

Specific refs to query (branch names, tag names, or full ref paths)


refsOnly?

optional refsOnly: boolean

Defined in: src/core/repo.ts:115

Show only actual refs (not peeled tags)


sort?

optional sort: string

Defined in: src/core/repo.ts:119

Sort refs by the given key (e.g., ‘version:refname’)


symref?

optional symref: boolean

Defined in: src/core/repo.ts:121

Show symbolic refs in addition to object refs


tags?

optional tags: boolean

Defined in: src/core/repo.ts:113

Limit to refs/tags