git pull代码 提示 TLS certificate verification has been disabled的解决方案

1,703 阅读1分钟

问题 ⛳️

在vscode中执行git pull出现提示:TLS certificate verification has been disabled

问题描述

出现原因 🔰

本地分支与远程分支未进行强制关联

解决方案 👀

执行命令

git config --global http.sslVerify true

最终效果 🚩

最终效果

这时又出现了个新问题,执行任何命令都会提示:

warning: redirecting to https://gitxxab.xx.cn/hxxas/frxxt-end/zzxxx_dxxpc.git/

正在寻求解决方案……

如有错误,欢迎指正!