table of contents
| GT-COMMIT(1) | gitea-cli Manual | GT-COMMIT(1) |
NAME¶
gt-commit - Work with the commits of a repository
SYNOPSIS¶
gt commit [flags]
DESCRIPTION¶
List the commits of a repository, look at one, show or compare changes, and see the state that CI reported for a commit. A commit is named by its SHA, or by a branch or tag, which stands for the commit it points to. These commands read the repository on the server: they need no clone.
OPTIONS¶
-h, --help[=false] help for commit
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-commit-compare(1), gt-commit-diff(1), gt-commit-list(1), gt-commit-pr(1), gt-commit-status(1), gt-commit-view(1)
| Nov 2026 | gitea-cli |