CLI
CLI
The gitea CLI can be used as follows:
sudo -u git /home/git/gitea/gitea -c /run/gitea/app.ini --help
For example, to change the root password:
sudo -u git /home/git/gitea/gitea -c /run/gitea/app.ini admin user change-password -u root -p changeme123