Class GitTagOptions
- Namespace
- Ando.Operations
- Assembly
- ando.dll
Options for 'git tag' command.
public class GitTagOptions
- Inheritance
-
GitTagOptions
- Inherited Members
Properties
Annotated
Create an annotated tag (recommended for releases).
public bool Annotated { get; set; }
Property Value
Message
Message for annotated tag. Defaults to tag name if not set.
public string? Message { get; set; }
Property Value
SkipIfExists
Skip creating the tag if it already exists (instead of failing).
public bool SkipIfExists { get; set; }
Property Value
Methods
AsLightweight()
Creates a lightweight tag instead of annotated.
public GitTagOptions AsLightweight()
Returns
WithMessage(string)
Sets the tag message.
public GitTagOptions WithMessage(string message)
Parameters
messagestring
Returns
WithSkipIfExists()
Skip creating the tag if it already exists (shows warning instead of failing).
public GitTagOptions WithSkipIfExists()