不能用EGit克隆远程git存储库 [英] Can't clone remote git repository with EGit
本文介绍了不能用EGit克隆远程git存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遵循此在线教程。
当我插入URI时: https:// username @ host:port / repositoryorypath ,密码并点击NEXT,
我收到此错误消息:
无法列出可用的分支。
原因:
在执行ls-remote命令时捕获异常。
我如何克隆这个repo?
解决方案
听起来像Egit正在寻找一个ssl证书,拒绝没有它的功能。一个很好的解决方案,使问题消失,远离:
窗口→首选项→团队→Git→配置→新条目→ http.sslverify
=
应该照顾它。
I am trying to clone remote git repository with Egit, via https protocol. I followed this online tutorial.
When I insert URI: https://username@host:port/repositorypath, password and click NEXT, I am getting this error message:
Cannot list the available branches.
Reason:
Exception caught during execution of ls-remote command.
How can I clone this repo?
解决方案
It sounds like Egit is looking for an ssl certificate and refusing to function without it. A good fix to make the problem go away and stay away:
Window→Preferences→Team→Git→Configuration→New Entry→http.sslverify
=false.
That should take care of it.
这篇关于不能用EGit克隆远程git存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文