问题
push时候,出现以下 warning
warning: ----------------- SECURITY WARNING ----------------
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcmcore-tlsverify for more information.
或出现
$ git push second master
fatal: unable to access 'https://github.com/77sup/huashanjianpu.git/': SSL certificate problem: unable to get local issuer certificate
解决:
同时在cmd和git bash中输入下面命令并执行,即可解决问题
git config --global http.sslVerify false