Windows git “warning: LF will be replaced by CRLF

Depending on the editor you are using, a text file with LF wouldn't necessary be saved with CRLF: recent editors can preserve eol style. But that git config setting insists on changing those...

git config --global core.autocrlf false

That way, you avoid any automatic transformation, and can still specify them through a (.gitattributes)[https://git-scm.com/docs/gitattributes] file and core.eol directives ( upcoming Git 1.7.2:)

2019-06-13 11:39:59