当我试图使用IntelliJ拉动或推送提交时,我会收到这条消息:
“未能启动Git进程”
在我的IntelliJ的设置中,我将git二进制文件夹链接为:C:\Program-Files\Git\bin\git.exe,当我单击“测试”时,它显示如下:
成功执行的Git版本为2.9.0
然而,当我使用命令行(使用终端)拉主动脉推送时,它正确工作!
为了解决我的问题,我在网上查阅了几个链接,但没有成功,我也咨询了这个链接:Failed to start Git process
发布于 2018-04-03 21:50:08
也有类似的问题。在我的例子中,logs(C:\Users\UserName.IdeaIC2017.3\system\log) IntelliJ有以下信息:
"C:\Users\UserName.IdeaIC2017.3\system\tmp\intellij-git-askpass.bat (访问被拒绝)“
因此,我继续删除了以下两个文件(位于C:\Users\UserName.IdeaIC2017.3\system\tmp),并且错误消失了:
intellij-git-askpass.bat
intellij-git-ssh.bat
不过,不太确定这两个文件负责什么。
发布于 2018-11-16 06:01:33
转到preferences => Version control => Git,将可执行文件的目录路径更改为/usr/local/git/bin/git。
按下测试按钮确认。
发布于 2022-04-26 05:44:50
简单的方法是尝试以下步骤:
第一轮:
$ git config --global credential.helper store然后,只需更新git版本:
$git update-git-for-windowshttps://stackoverflow.com/questions/48889927
复制相似问题