错误输出:
看信息大概定位到认证问题,查看推荐https://aka.ms/gcmcore-tlsverify网站后,确定是缺少了安全认证,所以解决方法是重启安全认证。
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
warning: HTTPS connections may not be secure. See https://aka.ms/gcm/tlsverify for more information.
warning: ----------------- SECURITY WARNING ----------------
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: ----------------- SECURITY WARNING ----------------
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcm/tlsverify for more information.
解决方法:
git config --global http.sslVerify true
文章描述了一个关于缺失安全认证的错误,特别是TLS证书验证被禁用的问题。解决方案是通过在WindowsPowerShell中运行gitconfig--globalhttp.sslVerifytrue命令来重新启用TLS验证,确保HTTPS连接的安全性。

5128

被折叠的 条评论
为什么被折叠?



