warning: LF will be replaced by CRLF in .gitignore. code example
Example 1: warning: LF will be replaced by CRLF
git config --global core.autocrlf true
Example 2: LF will be replaced by CRLF in assets
git config core.autocrlf true
Example 3: warning: LF will be replaced by CRLF
git config core.autocrlf true
Example 4: warning: LF will be replaced by CRLF in Design/css/bootstrap.min.css.
$ git config --global core.autocrlf input
Example 5: LF would be replaced by CRLF in package-lock.json
git config --global core.safecrlf false
Example 6: warning: LF will be replaced by CRLF
git config --global core.autocrlf false