3.git warning: TLS certificate verification has been disabled

git warning: TLS certificate verification has been disabled!

报错

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.
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 config --global http.sslVerify true

参考资料:

https://blog.csdn.net/xxwwh/article/details/119841089

posted @ 2023-06-14 18:32  贝壳里的星海  阅读(1114)  评论(0编辑  收藏  举报