gpt4 book ai didi

GIT-IntelliJ : Failed to start Git process

转载 作者:行者123 更新时间:2023-12-05 08:54:39 25 4
gpt4 key购买 nike

当我尝试使用 IntelliJ pull 或推送我的提交时收到此消息:

"Failed to start Git process"

在我的 IntelliJ 设置中,我将 git 二进制文件夹链接为:C:\Program Files\Git\bin\git.exe,当我点击“测试”时,它显示以下内容:

Git executed successfully Git version is 2.9.0

但是,当我使用命令行(使用终端) pull 或推时,它可以正常工作!

我引用了网络上的几个链接来解决我的问题,但没有成功我也引用了这个:Failed to start Git process

最佳答案

遇到了类似的问题。在我的例子中,IntelliJ logs(C:\Users\UserName\.IdeaIC2017.3\system\log) 有以下信息:

“C:\Users\用户名\.IdeaIC2017.3\system\tmp\intellij-git-askpass.bat(拒绝访问)”

所以,我继续删除了以下两个文件(位于 C:\Users\UserName\.IdeaIC2017.3\system\tmp),错误消失了:

intellij-git-askpass.bat

intellij-git-ssh.bat

虽然不太确定这两个文件负责什么。

关于GIT-IntelliJ : Failed to start Git process,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48889927/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com