当是window系统下,出现以下提示时
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory.
设置
$ git config --global core.autocrlf true
本文介绍如何解决在Windows系统下使用Git时遇到的LF被替换为CRLF的问题,通过设置Git配置项core.autocrlf为true来保持文件原有的换行符格式。
当是window系统下,出现以下提示时
warning: LF will be replaced by CRLF in package-lock.json.
The file will have its original line endings in your working directory.
设置
$ git config --global core.autocrlf true

被折叠的 条评论
为什么被折叠?