GitRepository
The GitRepository type represents a Git repository.
Common operations​
Some of the common operations used on the GitRepository type include:
| Field | Description |
|---|---|
branch | Returns details of a branch |
commit | Returns details of a commit |
head | Returns details of the current HEAD |
ref | Returns details of a ref |
tag | Returns details of a tag |
tags | Returns tags that match a given pattern |
branches | Returns branches that match a given pattern |