Eclipse | 同步时报 cannot open git-upload-pack(已解决)

在 Eclipse 中使用 egit 同步 GitHub 上的代码时报错:

网上翻了下,原来加一个配置就行了。

https://github.com/YoungZHU/CollectionCode4Java.git: cannot open git-upload-pack

打开 Eclipse,在工具栏中依次点开 Windows–>Preferences–>Team–>Git–>Configuration–>User Settings,然后点 Add Entry 新建一个键值对,
Key http.sslVerify
Value false

如图:

Eclipse配置截图

加入讨论

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据