我有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

其他回答

Windows 10操作系统:

我从- https://git-for-windows.github.io/安装git。

安装后,我在C:\Program Files\Git\bin\git.exe找到了它

检查这个路径:

C:\Program Files\Git\mingw64\libexec\git-core\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

如果你已经安装了基于powershell的git,你可以使用Get-Command对象来查找git:

Get-Command git.exe | Select-Object -ExpandProperty Definition

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

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