IntelliJ IDEA中Push failed: Failed with error: unable to access xx:Unknown SSL protocol error in

Push failed: Failed with error: unable to access 'https://github.com/cmshome/HelloWorld.git/': Unknown SSL protocol error in connection to github.com:1080

Push failed: Failed with error: unable to access 'https://github.com/cmshome/springMVC.git/': Unknown SSL protocol error in connection to github.com:1080

今天在使用github for Windows 想github上push的时候,报如上的错误。

具体截图如下:

IntelliJ IDEA中Push failed: Failed with error: unable to access xx:Unknown SSL protocol error in

本来打算上传个200多兆的项目到github的,但是失败了。一直报错。很郁闷。然后就跟着网上各种 设置,最后,还把以前能push的项目都给整坏了。

然后,又是一通乱配置,发现又可以了,我就留下足迹,以备后用。

IntelliJ IDEA中Push failed: Failed with error: unable to access xx:Unknown SSL protocol error in

可以看到,我使用了2个命令。

[java] view plain copy
  1. git config --global http.proxy   
  2. git config --global --unset http.proxy   
然后,再使用项目里面的push,如下,就OK啦。
IntelliJ IDEA中Push failed: Failed with error: unable to access xx:Unknown SSL protocol error in

就做个记录。以备后用。