在终端(如果是容器那么进入后默认是root用户,需要切换到git用户然后再执行命令)

su git
gitea admin user change-password --username [your-user-id] --password [new-password]
Last modification:July 8, 2023
If you think my article is useful to you, please feel free to appreciate