git add warning lf will be replaced code example
Example 1: warning: LF will be replaced by CRLF
git config --global core.autocrlf true
Example 2: warning: LF will be replaced by CRLF
git config core.autocrlf true
git config --global core.autocrlf true
git config core.autocrlf true