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
版权声明:本文标题:git pull 报 TLS certificate verification has been disabled! 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1729317502a1195477.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论