git config --global core.autocrlf false

git config --global core.autocrlf  false

warning: LF will be replaced by CRLF in .idea/vcs.xml.
The file will have its original line endings in your working directory.
warning: LF will be replaced by CRLF in .idea/workspace.xml.
The file will have its original line endings in your working directory.

原文地址:https://www.cnblogs.com/brady-wang/p/6122088.html