提示无法识别 'git' 命令:exec: "git": executable file not found in $PATH

初始配置时提示:
无法识别 ‘git’ 命令:exec: “git”: executable file not found in $PATH

实际已经指定了git path。


请问怎么爬坑?

is /usr/local/git/bin in $PATH for the user that runs gitea (eg git, gitea). What is shown is the $PATH variable for root is correct, but gitea cannot be launched as user=root