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

git.exe的路径是什么?


当前回答

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

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

其他回答

我已经从https://desktop.github.com下载了存根 从存根安装git后,git.exe存储在以下位置。

C:\Users\**用户名**\AppData\Local\GitHub\PortableGit_*****Some No/characters***\cmd\git.exe

在Windows 10 64位,我觉得exe文件现在存储在cmd文件夹,而不是bin文件夹。

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

C:\Program Files (x86)\Git\bin\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

如果您已经下载了最新版本,请尝试在CMD文件夹中查找。Git.exe应该在那里,应该工作。你可能需要手动输入文件>设置>版本控制>Git的路径

如果你可以使用git命令,它应该在你的路径? 因此,这应该工作假设Linux或Linux类似的操作系统

which git

其他也假设Linux类似的操作系统

cd /
find . -name "*git*"

如果在windows上,告诉我你用的是什么版本,我会帮助你。windows默认路径为 C:\Program Files (x86)\Git.

可执行文件的名称不是git。Exeon所有系统。