git 存储库克隆失败。连接重置

问题描述 投票:0回答:1

我使用 Bit Bucket 作为分布式版本控制系统 (DVCS) Git 的托管站点。

在克隆项目并将其带入我的 Eclipse 时,它给了我错误:

Git repository clone failed.
Connection reset

在向导中,它会导入到我的项目的 50%,一旦达到 50,它就会给我错误。

我直接从

Eclipse[import->Projects from Git-> entering my URL]
做,没有“
git command line
”。

我什至做到了

window-->Preferences->Team->Git->Configurations->User Settings

当我输入我的姓名和 ID 时,但这也没有帮助。

我无法在我的项目中克隆,请帮助我解决这个问题。

eclipse git bitbucket git-clone
1个回答
0
投票

名称和 ID 仅在您使用 https 网址时才有效:

 https://[email protected]/username/yourrepo.git

如果失败,您可以尝试在 Egit 配置中设置 ssh 密钥,以便为您的存储库使用 ssh url:

[email protected]:vonc/test.git
© www.soinside.com 2019 - 2024. All rights reserved.