Intellij无法从git获取

读心者

我已经克隆了一个现有的git仓库。当我使用命令行拉时,Git工作正常。但是,当我尝试从Intellij执行相同操作时,它说

Fetch failed. Fatal : Could not read from remote repository.

VCS控制台日志显示:

git fetch --progress --prune origin
java.lang.RuntimeException: Invocation failed Server returned invalid Response.
    at org.jetbrains.git4idea.ssh.GitSSHXmlRpcClient.askPassword(GitSSHXmlRpcClient.java:176)
    at org.jetbrains.git4idea.ssh.SSHMain.authenticate(SSHMain.java:265)
    at org.jetbrains.git4idea.ssh.SSHMain.start(SSHMain.java:157)
    at org.jetbrains.git4idea.ssh.SSHMain.main(SSHMain.java:137)
Caused by: java.io.IOException: Server returned invalid Response.
    at org.apache.xmlrpc.LiteXmlRpcTransport.sendRequest(LiteXmlRpcTransport.java:243)
    at org.apache.xmlrpc.LiteXmlRpcTransport.sendXmlRpc(LiteXmlRpcTransport.java:90)
    at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
    at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
    at org.jetbrains.git4idea.ssh.GitSSHXmlRpcClient.askPassword(GitSSHXmlRpcClient.java:170)
    ... 3 more
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

我正在使用ssh密钥对进行身份验证。我将不胜感激。

读心者

对于IntelliJ 13/14,

  1. 单击文件->设置。键盘快捷键是Ctrl+ Alt+ S
  2. 搜索“版本控制”
  3. 在“版本控制”下选择“ Git”
  4. 在“ SSH可执行文件”下拉列表中,选择“本机”

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Dreamweaver Git 集成无法获取

Intellij无法记住我的git凭据

Jenkins Git参数插件无法获取标签

Git中的“无法获取您的身份”错误

Git无法使用https获取,提取或克隆

Android Studio(IntelliJ)闲置时自动获取git

在IntelliJ中获取git diff中的所有文件

git无法检测到IntelliJ新类文件

在GIT中推入intellij 12/13无法正常工作

git与IntelliJ IDEA:无法从远程存储库读取

IntelliJ IDEA无法获取正确的application-{}。properties文件

为什么IntelliJ scala插件无法获取我的依赖关系?

无法从git对git post-update钩子获取依赖关系

git从Windows 10上的IntelliJ失败,无法使用fork:无法为父堆栈保留内存

成功获取git svn后无法签出新的本地分支

Git-致命:无法获取当前工作目录?

无法获取最新版本的Git

Sublime Text 3的Gitgutter-Git版本无法获取

无法使用Python从git存储库获取特定文件版本

无法在团队服务中从Git获取所有分支

无法从 Azure Devops 获取内部 Gitlab 的数据(获取 Git 获取失败,退出代码:128)

无法在Intellij Idea中的“本地更改”中查看信息并登录“版本控制”选项卡(git)

Git无法使用IntelliJ或SourceTree在我的项目中提交Angular文件夹

IntelliJ IDEA中的“终端工具”窗口上无法识别git命令

无法在 IntelliJ 中获取资源文件的相对路径 - Java/Selenium

JSP 页面无法从资源文件夹中获取 Bootstrap 文件 -IntelliJ

由于url中的.git,无法从私有git存储库获取数据

错误:无法通过 git 获取插件 http://github.com/don/cordova-filechooser.git

IntelliJ git合并工具