.nh .TH "GT-CONFIG" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-config - Manage settings .SH SYNOPSIS \fBgt config [flags]\fP .SH DESCRIPTION Manage gt's settings. .PP Preferences live in config.yml and instance settings in hosts.yml, in the configuration directory ($GITEA_CLI_CONFIG_DIR, or gitea-cli under the XDG config directory); gt config path prints both files. Environment variables that override settings are listed in gt help environment. .PP Preferences: default_host, git_protocol, editor, prompt (enabled or disabled), pager, browser (never disables opening), color, hyperlinks and markdown (auto or raw), remote, http_timeout, extensions (enabled or disabled), extension_hosts, extension_owners and aliases (see gt alias). Instance settings (--host ): user, ssh_host, insecure, git_protocol, oauth_client_id, headers, client_cert and client_key. Account settings (--host --user ): ssh_key, ssh_agent, ssh_certificate_principal, ssh_key_fingerprint. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for config .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH SEE ALSO \fBgt(1)\fP, \fBgt-config-get(1)\fP, \fBgt-config-list(1)\fP, \fBgt-config-path(1)\fP, \fBgt-config-set(1)\fP