Skip to main content

GitRepository

The GitRepository type represents a Git repository.

Common operations​

Some of the common operations used on the GitRepository type include:

FieldDescription
branchReturns details of a branch
commitReturns details of a commit
headReturns details of the current HEAD
refReturns details of a ref
tagReturns details of a tag
tagsReturns tags that match a given pattern
branchesReturns branches that match a given pattern