TortoiseGit 找不到 git.exe
TortoiseGit can't find git.exe
我已经在我的 Windows 10
OS 上对 TortoiseGit
和最新的 Git for Windows
进行了全新安装,但是 Tortoise 似乎有问题声称它找不到 Git 的可执行文件。
Tortoise 中 Git 可执行文件集的路径是正确的,此外我已经将相应的条目添加到 PATH 环境变量中。
每次我尝试创建 repo 或进入设置时,都会弹出以下消息:
git.exe not correctly set up (/usr/bin/bash: /bin/git.exe: No such file or directory)
Check TortoiseGit settings and consult help for "Git.exe Path".
总结:
- Windows 10 (x64)
- 乌龟Git (x64 / v2.1.0.0)
- Git (x64 / v2.9.0)
安装路径:
- 乌龟:“A:\Programs\TortoiseGit”
- Git: "A:\Programs\Git\bin"
为 PATH 变量添加条目:
- "A:\Programs\Git\bin"
- "A:\Programs\Git\mingw64\bin"
当 Git 用于 Windows 时,请勿启用 Cygwin 或 Msys hack!
这些仅适用于 cygwin 或 msys2 随附的 git.exe 版本(不是 Git for Windows!)包。
我已经在我的 Windows 10
OS 上对 TortoiseGit
和最新的 Git for Windows
进行了全新安装,但是 Tortoise 似乎有问题声称它找不到 Git 的可执行文件。
Tortoise 中 Git 可执行文件集的路径是正确的,此外我已经将相应的条目添加到 PATH 环境变量中。
每次我尝试创建 repo 或进入设置时,都会弹出以下消息:
git.exe not correctly set up (/usr/bin/bash: /bin/git.exe: No such file or directory)
Check TortoiseGit settings and consult help for "Git.exe Path".
总结:
- Windows 10 (x64)
- 乌龟Git (x64 / v2.1.0.0)
- Git (x64 / v2.9.0)
安装路径:
- 乌龟:“A:\Programs\TortoiseGit”
- Git: "A:\Programs\Git\bin"
为 PATH 变量添加条目:
- "A:\Programs\Git\bin"
- "A:\Programs\Git\mingw64\bin"
当 Git 用于 Windows 时,请勿启用 Cygwin 或 Msys hack!
这些仅适用于 cygwin 或 msys2 随附的 git.exe 版本(不是 Git for Windows!)包。