| GT-TAG-VIEW(1) | gitea-cli Manual | GT-TAG-VIEW(1) |
NAME
gt-tag-view - View a tag
SYNOPSIS
gt tag view <tag> [flags]
DESCRIPTION
View a tag: the commit it points to and, for an annotated tag, who made it and its message. The signature check describes the tagged commit, not the tag, as Gitea checks only the commit; in --json it is verified and verification_reason. It and tagger, tagger_email and tagged_at are read for annotated tags only.
JSON FIELDS
annotated, commit, id, message, name, tagged_at, tagger, tagger_email, tarball_url, verification_reason, verified, zipball_url
OPTIONS
-h, --help[=false] help for view
-w, --web[=false] Open the tag in the browser
OPTIONS INHERITED FROM PARENT COMMANDS
--csv="" Output CSV with the specified comma-separated fields
--cwd="" Working directory for repository discovery
--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr
--host="" Gitea instance URL, including any base path
--interactive[=false] Allow prompts with machine output
-q, --jq="" Filter JSON output using a jq expression, of every field without --json
--json="" Output JSON with the specified comma-separated fields
--no-input[=false] Disable prompts and implicit editor/browser interactions
--remote="" Git remote used for repository discovery
-R, --repo="" Select a repository as OWNER/REPO or URL
--sudo="" Perform API requests as this user (requires an administrator account)
--template="" Format JSON output using a Go template, of every field without --json (see gt help formatting)
--user="" Account name on the selected instance
EXAMPLE
$ gt tag view v1.2.0 $ gt tag view v1.2.0 --json commit,annotated --jq .commit
SEE ALSO
| Nov 2026 | gitea-cli |