HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gitea — Administer Gitea, a lightweight Git hosting server. Requires a configured `app.ini` file or environm

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlightweightclihostinggiteaadministergit

Problem

How to use the gitea command: Administer Gitea, a lightweight Git hosting server. Requires a configured app.ini file or environment variables. More information: <https://docs.gitea.com/administration/command-line>.

Solution

gitea — Administer Gitea, a lightweight Git hosting server. Requires a configured app.ini file or environment variables. More information: <https://docs.gitea.com/administration/command-line>.

Run the Gitea web server using the default configuration:
gitea web


Create the necessary database schema and tables:
gitea migrate


Run administrative subcommands for user management or authentication management:
gitea admin {{user list}}


Display help for a specific subcommand:
gitea {{admin}} --help


Display help:
gitea help


Display version:
gitea --version

Code Snippets

Run the Gitea web server using the default configuration

gitea web

Create the necessary database schema and tables

gitea migrate

Run administrative subcommands for user management or authentication management

gitea admin {{user list}}

Display help for a specific subcommand

gitea {{admin}} --help

Display help

gitea help

Context

tldr-pages: common/gitea

Revisions (0)

No revisions yet.