如何解决Git错误:"无法创建临时存储库"

use*_*305 6 eclipse git eclipse-plugin

我对Git的概念非常陌生.我为Eclipse安装了Git插件,现在我正在尝试克隆一个为期一年的Eclipse项目.

首先,我收到一个错误说:

Cannot list the available branches.
Reason-Exception caught during execution of ls-remote command.
Run Code Online (Sandbox Code Playgroud)

我通过做一些与ssh相关的属性更改解决了这个问题.

现在我收到一个错误说,

Couldn't create temporary repository.
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

小智 2

Eclipse 论坛中似乎有人建议您使用的 EGit 版本可能已过时。尝试更新到最新版本的 Egit。

最新 Egit 版本的地址是:

http://download.eclipse.org/egit/updates

您可以在此处找到安装添加软件站点的说明。