git warning: LF will be replaced by CRLF in Main.java. 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 in
$ git config --global core.autocrlf input