Disable “LF will be replaced by CLRF” warning in Git on Windows
If you’ve ever used Git in windows, you may have seen something like this every time you add files to Git:
warning: LF will be replaced by CRLF in www/index.html.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in www/templates/dash.html.
The file will have its original line endings in your working directory.
If you want to turn it off, type this:
git config --global core.safecrlf false
网友评论