问题一
fatal: unable to access ‘https://…git/’: SSL certificate problem: self signed certificate in certificate chain
打开Git Bash运行如下命令
export GIT_SSL_NO_VERIFY=true
git config --global http.sslVerify "false"
或者在windows的命令行中,进入到git命令所在的磁盘位置,执行下面的git命令
git config --global http.sslVerify false
问题二
fatal: unable to access 'https://github.com/xx/xx.git/': OpenSSL SSL_connect: Connection was reset in connection to github.com:443
Git bash 中依次输入
git config --global http.sslBackend "openssl"
git config --global http.sslCAInfo "C:\tools\PortableGit\mingw64\ssl\cert.pem"
标签:git,http,记录,--,global,Git,使用,config
From: https://www.cnblogs.com/geekdc/p/17631044.html