Question: warning lf will be replaced by crlf in file?
Answer: warning: LF will be replaced by CRLF. ... Use this setting if you want to have CRLF line endings in your working directory even though the repository does not have normalized line endings. As described in "git replacing LF with CRLF", it should only occur on checkout (not commit), with core. autocrlf=true .