美文网首页
IDEA 使用Git报错"Could not read from

IDEA 使用Git报错"Could not read from

作者: U_2647 | 来源:发表于2018-05-11 16:37 被阅读0次

问题

使用IntelliJ IDEA 操作github仓库时,突然出现下面的错误

"Could not read from remote repository"

之前一直用着好好的,忽然就不能用了。在命令行下pull了一些,没有问题。怀疑是IDEA的配置问题。

问题原因

个人觉得应该是 IDEA 的SSH过期了。

PS: 出现这种情况的原因之一就是,你很久没有更新过这个仓库的代码了。估计是仓库心凉了 :)

解决办法

在 Setting窗口找到git,将ssh executable项设置为native。入下图

20180508.jpg

相关文章

网友评论

      本文标题:IDEA 使用Git报错"Could not read from

      本文链接:https://www.haomeiwen.com/subject/qqafdftx.html