1

我正在尝试为大学项目克隆一个 repo。以下是详细信息:

Eclipse 3.7.2.v20120207-1839

STS 2.9.2.201205071000-RELEASE

EGit    1.3.0.201202151440-r

GNU/Linux Debian 3.0.0-1-amd64 x86_64 

首先我尝试导入项目: Import > Projects from Git > URI >

网址:https://USERNAME@HOSTNAME/repositories/git/REPNAME.git

主持人: HOSTNAME

代表路径:/repositories/git/REPNAME.git

协议:https 端口:--

但是当我单击下一步时,我收到以下错误:

Exception caught during execution of ls-remote command

我用谷歌搜索并环顾四周,甚至在 stackoverflow 上看到了一些帖子,但是,我仍然无法找到发生这种情况的原因。

编辑:解决方案

找到了解决方案。抱歉打扰了。看来我不得不关闭 ssl 验证:

git config --global http.sslverify "false"
4

1 回答 1

1

Found the solution. Sorry for the bother. It seems that I had to turn off ssl verification:

git config --global http.sslverify "false"
于 2012-05-27T11:58:58.483 回答