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.)