[英]What is the correct Git path on 64 bit windows 2012 server?
I am trying to configure Jenkins with GitHub. 我正在尝试使用GitHub配置Jenkins。 But Jenkins is not able to find git.exe (Manage Jenkins -> Configure System -> Git Installations ) and i guess that's because PATH ( Environment Variable) is not set on the window server im using.
但是詹金斯无法找到git.exe(管理詹金斯->配置系统-> Git安装),我想那是因为未在正在使用的窗口服务器上设置PATH(环境变量)。
Its Windows 2012 R2 server With 64 bit OS. 其Windows 2012 R2服务器具有64位OS。 But still when i installed Git, it got install into Program Files instead of Program Files (86) and i noticed git.exe is in 3 different locations
但是仍然当我安装Git时,它安装到了Program Files而非Program Files(86)中,并且我注意到git.exe位于3个不同的位置
C:\\Program Files\\Git\\bin C:\\ Program Files \\ Git \\ bin
C:\\Program Files\\Git\\mingw64\\bin C:\\ Program Files \\ Git \\ mingw64 \\ bin
C:\\Program Files\\Git\\mingw64\\libexec\\git-core C:\\ Program Files \\ Git \\ mingw64 \\ libexec \\ git-core
When i looked into registry HKEY_LOCAL_MACHINE\\SOFTWARE\\GitForWindows the value of LibexecPath key is set to C:\\Program Files\\Git\\mingw64\\libexec\\git-core 当我查看注册表HKEY_LOCAL_MACHINE \\ SOFTWARE \\ GitForWindows时 , LibexecPath项的值设置为C:\\ Program Files \\ Git \\ mingw64 \\ libexec \\ git-core
So which path i should be using on 64 bit machine? 那么我应该在64位计算机上使用哪个路径?
使用C:\\ Program Files \\ Git \\ bin \\ git.exe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.