git关闭“LF将被CRLF替换”警告 [英] git turn off "LF will be replaced by CRLF" warning

查看:183
本文介绍了git关闭“LF将被CRLF替换”警告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我了解警告是什么以及如何关闭该功能,但我需要的是关闭警告本身。请帮忙吗?

I understand what the warning is for and how to turn off the function, but what I need is to turn off the warning itself. Help please?

推荐答案

您可以通过
$ b

You can turn off the warning with

git config --global core.safecrlf false

只关闭警告,而不是函数本身。)

(This will only turn off the warning, not the function itself.)

这篇关于git关闭“LF将被CRLF替换”警告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆