2019/05/09 14:43:25 [T] Custom path: /home/git/gogs/custom

2019/05/09 14:43:25 [T] Log path: /home/git/gogs/log

2019/05/09 14:43:25 [I] Gogs: Go Git Service 0.8.25.0129

2019/05/09 14:43:25 [I] Log Mode: File(Info)

2019/05/09 14:43:25 [I] Cache Service Enabled

2019/05/09 14:43:25 [I] Session Service Enabled

2019/05/09 14:43:25 [I] Mail Service Enabled

2019/05/09 14:43:25 [I] Notify Mail Service Enabled

2019/05/09 14:43:25 [.../gogs/models/repo.go:97 NewRepoContext()] [E] Fail to test 'git' command: exec: "git": executable file not found in $PATH (forgotten install?)

原因:

本机,没安装git服务 。