Compartir a través de


RepositoryRefDefinition interface

The source reference for the GitRepository object.

Properties

branch

The git repository branch name to checkout.

commit

The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.

semver

The semver range used to match against git repository tags. This takes precedence over tag.

tag

The git repository tag name to checkout. This takes precedence over branch.

Property Details

branch

The git repository branch name to checkout.

branch?: string

Property Value

string

commit

The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.

commit?: string

Property Value

string

semver

The semver range used to match against git repository tags. This takes precedence over tag.

semver?: string

Property Value

string

tag

The git repository tag name to checkout. This takes precedence over branch.

tag?: string

Property Value

string