错误输出:
看信息大概定位到认证问题,查看推荐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