1、开始使用的码云开发提交代码的,切换成GitHub出现以下报错:
解决办法:
git config --global http.sslVerify "false"
git config --global https.sslVerify "false"
2、第1个问题解决后又遇到这样一个问题:
这个错误大致是说连接到github的时候超时了,查询了好久,其实很简单,超时了无非就是代理出了点问题,不过好在git上用几个命令就能够很快搞定。
git config --global --unset http.proxy
git config --global --unset https.proxy
然后进行git push就成功拉。