RepositoryRefDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The source reference for the GitRepository object.
public class RepositoryRefDefinition
type RepositoryRefDefinition = class
Public Class RepositoryRefDefinition
- Inheritance
-
RepositoryRefDefinition
Constructors
RepositoryRefDefinition() |
Initializes a new instance of the RepositoryRefDefinition class. |
RepositoryRefDefinition(String, String, String, String) |
Initializes a new instance of the RepositoryRefDefinition class. |
Properties
Branch |
Gets or sets the git repository branch name to checkout. |
Commit |
Gets or sets the commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver. |
Semver |
Gets or sets the semver range used to match against git repository tags. This takes precedence over tag. |
Tag |
Gets or sets the git repository tag name to checkout. This takes precedence over branch. |