标签: windows git
D:\ Git \ bin \ git.exe D:\ Git \ cmd \ git.exe
执行“ where git”命令后,在git bash中可见的路径
D:\ Git \ mingw64 \ bin \ git.exe
enter image description here
答案 0 :(得分:1)
路径应为D:\Git\bin,而不是D:\Git\bin\git.exe。
D:\Git\bin
D:\Git\bin\git.exe
这会将D:\bin目录内的所有程序添加到路径。
D:\bin