warning: LF will be replaced by CRLF in

warning: LF will be replaced by CRLF in

windows中的换行符为 CRLF, 而在Linux下的换行符为LF,所以在执行add . 时会出现以下提示。(vscode也是用LF)
warning: LF will be replaced by CRLF in xxxx

git 执行

git config core.autocrlf false

参考链接

https://www.cnblogs.com/sdgf/p/6237847.html

你可能感兴趣的:(warning: LF will be replaced by CRLF in)