With Git, how do I turn off the "LF will be replaced by CRLF" warning

git, git-config, line-endings

Solution

You can turn off the warning with

git config --global core.safecrlf false

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

Problem

With Git, when using the `autocrlf = true` flag, a warning is still given when line-endings are changed. I understand what the warning is for, and how to turn off the line-ending flag, but how do I turn off the warning itself?

Original source

Related problems