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.
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.
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.
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcm/tlsverify for more information.
Already up to date.
需要执行以下命令
git config --global http.sslVerify false
一、错误原因
原因就是存在符号转义问题
Windows 中的换行符为 CRLF, 而在 Linux 下的换行符为 LF
所以,使用 add . 时,会出现提示文章来源:https://www.toymoban.com/news/detail-408170.html
二、解决方案
在 Git 下处理"换行"(line ending)
core.autocrlf 是 git 中负责处理 line ending 的变量,可以设置3个值:true、false、input
将它设置成 false,line endings 将不做转换操作。文本文件保持原样文章来源地址https://www.toymoban.com/news/detail-408170.html
git config --global core.autocrlf false
到了这里,关于git pull 报 TLS certificate verification has been disabled!的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!