简体   繁体   English

64位Windows 2012 Server上正确的Git路径是什么?

[英]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.

相关问题 SQL Server 2014 32 位在 Windows Server 2012 R2 中升级 64 位 - SQL Server 2014 32 bit upgrading 64 bit in Windows Server 2012 R2 ADODB 连接在 Windows10 64 位和 SQL Server 2012 上失败 - ADODB Connection fails on Windows10 64 bit with SQL Server 2012 Windows 8 64位上具有Visual Studio 2012的Directx 11.0 - Directx 11.0 with visual studio 2012 on windows 8 64 bit 如何在Windows 7上使用Visual Studio 2012(64位)安装OpenCV? - How to install OpenCV with Visual Studio 2012 (64 bit) on Windows 7? Windows Server 2012上的Git SSH问题 - Git SSH Issue on Windows Server 2012 无法在64位计算机上使用getsystemdirectory()获得正确的路径 - Not able to get the correct path using getsystemdirectory() in 64 bit machine 在 64 位 Windows 上 long 的位大小是多少? - What is the bit size of long on 64-bit Windows? 如何使64位dll与Windows Server 2008,Windows 7和Windows XP的64位版本兼容? - How to make 64 bit dll compatible with 64-bit editions of Windows Server 2008, Windows 7, and Windows XP? 如何启用32位.Net应用程序以在Windows 2012 R2 64bit中运行 - How to enable 32 bit .Net app to run in Windows 2012 R2 64bit 在Windows上使用Git Bash 64位的Shell脚本 - Shell scripts with Git Bash 64-bit on Windows
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM