I am working on Windows, but may also work on Unix, so I don't need to store Windows line endings. I just want to suppress the warning.
I found these related Stack Overflow questions:
- With Git, how do I turn off the "LF will be replaced by CRLF" warning
- git, whitespace errors, squelching and autocrlf, the definitive answers
I tried the following:
git config core.whitespace cr-at-eol false<Br>
git config core.whitespace cr-at-eol true<br>
git config core.whitespace cr-at-eol nowarn
But these don't seem to do anything. Does anyone know how to turn off the warnings?