eclipse连接github,链接不上 cannot open git-upload-pack(git-receive-pack)

 

2018年2月8日后禁止通过TLSv1.1协议连接https://github.com 和 https://api.github.com.

原文地址为https://githubengineering.com/crypto-removal-notice/

对于网上的各种方法都不行,亲测如下方法可行

 

 

 

打开eclipse安装目录下的eclipse.ini添加一句:-Dhttps.protocols=TLSv1,TLSv1.1,TLSv1.2  就可以了。如图:

posted @ 2019-04-01 15:55  低调人生  阅读(1169)  评论(0编辑  收藏  举报