Article Detail gitea git executable not found 下载 运行git for windows Linux 阅读 21.9万 1 分钟阅读 2022-11-24 15:14 下载 运行git for windows
广西南宁市西乡塘区 2022-11-24 15:16 windows无法识别 'git' 命令:exec: "git": executable file not found in %PATH%choco cmd无法识别windows安装gitea注册为Windows服务要注册为Windows服务,首先以Administrator身份运行 cmd,然后执行以下命令:sc create gitea start= auto binPath= "\"C:\gitea\gitea.exe\" web --config \"C:\gitea\custom\conf\app.ini\""别忘了将 C:\gitea 替换成你的 Gitea 安装目录。之后在控制面板打开 “Windows Services”,搜索 “gitea”,右键选择 “Run”。在浏览器打开 http://localhost:3000 就可以访问了。(如果你修改了端口,请访问对应的端口,3000是默认端口)。从Windows服务中删除以Administrator身份运行 cmd,然后执行以下命令:sc delete gitea reply | quote | #0
windows无法识别 'git' 命令:exec: "git": executable file not found in %PATH%
choco cmd无法识别
windows安装gitea
注册为Windows服务
要注册为Windows服务,首先以Administrator身份运行 cmd,然后执行以下命令:
sc create gitea start= auto binPath= "\"C:\gitea\gitea.exe\" web --config \"C:\gitea\custom\conf\app.ini\""
别忘了将 C:\gitea 替换成你的 Gitea 安装目录。
之后在控制面板打开 “Windows Services”,搜索 “gitea”,右键选择 “Run”。在浏览器打开 http://localhost:3000 就可以访问了。(如果你修改了端口,请访问对应的端口,3000是默认端口)。
从Windows服务中删除
以Administrator身份运行 cmd,然后执行以下命令:
sc delete gitea