不能在Pycharm 2017.3中使用git

时间:2017-12-01 09:10:37

标签: git powershell pycharm

我在

中使用Powershell 5.1.6299.64

PyCharm 2017.3(专业版)

Build#PY-173.3727.137,建于2017年11月28日

JRE:1.8.0_152-release-1024-b6 amd64 JVM:JetBrains s.r.o的OpenJDK 64位服务器VM

Windows 10上的

Git版本最新稳定。

使用内置用户界面管理Git时,尝试使用内置用户界面重新定位/更新/结帐/任何一个分支时出现此错误:

core: runnerw.exe: cannot determine child command line from its parent:
"D:\Program Files\JetBrains\PyCharm\PyCharm 2017.2.3\bin\runnerw.exe" 
"\"C:\Git\bin\git.exe\"" -c core.quotepath=false -c log.showSignature=false -c core.commentChar= rebase origin/DEV

1 个答案:

答案 0 :(得分:0)

所以问题出在设置 - >版本控制 - > GIT中。

引用了路径:“C:\ Git \ cmd \ git.exe”,这就是原因。

将git可执行文件的路径重新分配给C:\Git\cmd\git.exe,现在可以正常工作。