fatal: LF would be replaced by CRLF in index.html

进入项目目录,在.git文件夹下打开config配置文件,添加上下面两句话:

autocrlf = false
safecrlf = false

即可

原文地址:https://www.cnblogs.com/aiyr/p/10348726.html