Scroll to navigation

GT-TAG(1) gitea-cli Manual GT-TAG(1)

NAME

gt-tag - Manage tags and tag protection rules

SYNOPSIS

gt tag [flags]

DESCRIPTION

List, view, create and delete the tags of a repository on the server, and protect tags by pattern so that only some users and teams can create matching ones. A release is made from a tag: see gt release create. These commands need no clone.

OPTIONS

-h, --help[=false] help for tag

OPTIONS INHERITED FROM PARENT COMMANDS

--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

--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)

--user="" Account name on the selected instance

SEE ALSO

gt(1), gt-tag-create(1), gt-tag-delete(1), gt-tag-list(1), gt-tag-protect(1), gt-tag-protection(1), gt-tag-unprotect(1), gt-tag-view(1)

Nov 2026 gitea-cli