美文网首页
Disable “LF will be replaced by

Disable “LF will be replaced by

作者: devttao | 来源:发表于2018-07-29 10:38 被阅读0次

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

相关文章

网友评论

      本文标题:Disable “LF will be replaced by

      本文链接:https://www.haomeiwen.com/subject/cqjzmftx.html