admin管理员组

文章数量:1641425

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 . 时,会出现提示

二、解决方案

在 Git 下处理"换行"(line ending)
core.autocrlf 是 git 中负责处理 line ending 的变量,可以设置3个值:true、false、input
将它设置成 false,line endings 将不做转换操作。文本文件保持原样

git config --global core.autocrlf false

本文标签: TLSpullGitdisabledVerification