问题及解决方法
报错
在工作中,出现了如下问题:
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.
查看https://aka.ms/gcmcore-tlsverify后,发现应该是缺少了安全认证,所以解决方法是重启安全认证。
解决方法
git config --global http.sslVerify true