我有PyCharm,我正在寻找git.exe来设置它与我的repo。

git.exe的路径是什么?


当前回答

Install git first to your window from

https://git-scm.com/download/win

 Select this path while configuring with git to Android studio
    C:\Program Files\Git\cmd\git.exe

其他回答

在命令行输入:

where git.exe

在windows 8中,我发现它的路径如下:

C:\Program Files (x86)\Git\bin\git.exe

如果你安装了Visual Studio 2022, git.exe位于这里:

C:\Program Files\Microsoft Visual Studio\2022\Professional\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin

对于那些找不到其他解决方案的人,

我今天刚刚下载了最新的版本,git.exe位于

C:\Users\<user>\AppData\Local\GitHubDesktop\app-1.0.10\resources\app\git\cmd

在GitHub 2.5.3.0的Windows 7中,我在C:\Users(user)\AppData\Local\GitHub\PortableGit_(numbers)\mingw32\bin\git.exe中找到了它

感谢dir /s git.exe