OS Manuals

/usr/bin/gitea

self-hosted git service

From gitea-fips 28.3.0-r2 (enterprise-packages), captured 2026-11-09 by running gitea --help (exit 0). permalink

2026/11/09 14:45:39 .../setting/repository.go:329:loadRepositoryFrom() [W] SCRIPT_TYPE "bash" is not on the current PATH. Are you sure that this is the correct SCRIPT_TYPE?
NAME:
   gitea - A painless self-hosted Git service

USAGE:
   gitea [global options] [command [command options]]

VERSION:
   v28.3.0 built with go1.27.3

DESCRIPTION:
   Gitea program contains "web" and other subcommands. If no subcommand is given, it starts the web server by default. Use "web" subcommand for more web server arguments, use other subcommands for other purposes.

COMMANDS:
   web              Start Gitea web server
   dump             Dump Gitea files and database
   admin            Perform common administrative operations
   migrate          Migrate the database
   doctor           Diagnose and optionally fix problems, convert or re-create database tables
   manager          Manage the running gitea process
   embedded         Extract embedded resources
   migrate-storage  Migrate the storage
   dump-repo        Dump the repository from git/github/gitea/gitlab
   restore-repo     Restore the repository from disk
   actions          Manage Gitea Actions
   config           Manage Gitea configuration
   cert             Generate self-signed certificate
   generate         Generate Gitea's secrets/keys/tokens
   docs             Output CLI documentation
   help, h          Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --work-path string, -w string    Set Gitea's working path (defaults to the Gitea's binary directory)
   --config string, -c string       Set custom config file (defaults to '{WorkPath}/custom/conf/app.ini')
   --custom-path string, -C string  Set custom path (defaults to '{WorkPath}/custom')
   --help, -h                       show help
   --version, -v                    print the version

DEFAULT CONFIGURATION:
   AppPath:    /usr/bin/gitea
   WorkPath:   /usr/bin
   CustomPath: /usr/bin/custom
   ConfigFile: /usr/bin/custom/conf/app.ini
Options (5)
OptionDescriptionSource
--work-path, -w stringSet Gitea's working path (defaults to the Gitea's binary directory)help
--config, -c stringSet custom config file (defaults to '{WorkPath}/custom/conf/app.ini')help
--custom-path, -C stringSet custom path (defaults to '{WorkPath}/custom')help
--help, -hshow helphelp
--version, -vprint the versionhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.