mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 00:44:04 +00:00
35 lines
690 B
Plaintext
35 lines
690 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|