Interface TagOptions

TagOptions defines the supported options for the Git tag command.

Hierarchy

  • TagOptions

Properties

--annotate?: null

Makes an annotated tag.

--cleanup?: string

Sets how the tag message is cleaned up.

--column?: null | string | string[]

Displays the tag listing in columns. See also --no-column.

--contains?: null | string | string[]

Lists tags which contain the specified commit; HEAD if not specified. See also --no-contains.

--create-reflog?: null

Creates a reflog for the tag. See also --no-create-reflog.

--delete?: null

Deletes an existing tag with the given name.

--force?: null

Replaces an existing tag with the given name, instead of failing.

--format?: string

Interpolates %(fieldname) from a tag ref being shown and the object it points at.

--ignore-case?: null

Makes sorting and filtering tags case insensitive.

--list?: null

Lists tags.

--local-user?: string

Makes a GPG-signed tag using the given key.

--merged?: null | string | string[]

Lists tags whose commits are reachable from the specified commit; HEAD if not specified. See also --no-merged.

--message?: string

Specifies the tag message.

--no-column?: null

Does not display the tag listing in columns. See also --column.

--no-contains?: null | string | string[]

Lists tags which don't contain the specified commit; HEAD if not specified. See also --contains.

--no-create-reflog?: null

Overrides an earlier --create-reflog. See also --create-reflog.

--no-merged?: null | string | string[]

Lists tags whose commits are not reachable from the specified commit; HEAD if not specified. See also --merged.

--no-sign?: null

Overrides the tag.gpgSign configuration variable. See also --sign.

--points-at?: null | string

Lists tags of the given object; HEAD if not specified.

--sign?: null

Makes a GPG-signed tag. See also --no-sign.

--sort?: string | string[]

Sorts based on the given keys.

--verify?: null

Verifies the GPG signature of the given names.

-n?: null | string | number

Specifies how many lines from the annotation, if any, are printed. If null is given, only the first line is printed.