SHOW GIT TAGS

statementsupportedContainer services & dev tooling

docs.snowflake.com ↗

Lists the tags in the specified Snowflake Git repository clone.

Syntax

supportedpartialnot supportednot scored

SHOW GIT TAGS [ LIKE '<pattern>' ] IN [ GIT REPOSITORY ] <repository_name>

Parameters

NameRequiredDescription
LIKE 'pattern'Optionally filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (% and _). For example, the following patterns return the same results: ... LIKE '%testing%' ... ... LIKE '%TESTING%' ... Default: No value (no filtering is applied to the output).
IN [ GIT REPOSITORY ] repository_nameSpecifies the Git repository clone containing the tags to show.

Usage notes

Output

The command output provides Git tags properties in the following columns: Column | Description name | Name of the tag. path | Path of the tag. commit_hash | Commit hash of the tag. author | Author of the tag. message | Commit message for the tag.

Access control requirements

A role used to execute this operation must have the following privileges at a minimum: Privilege | Object | Notes READ | Git repository | Git repository clone containing the tags to show Operating on an object in a schema requires at least one privilege on the parent database and at least one privilege on the parent schema. For instructions on creating a custom role with a specified set of privileges, see Creating custom roles. For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.

See also

Referenced by