本文首发于 http://www.YoungZY.com/
在 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
如图:
加入讨论