添加所有新增文件
git add -A
出现如下报错
warning: LF will be replaced by CRLF in WebContent/WEB-INF/web.xml.
The file will have its original line endings in your working directory
输入 git config --global core.autocrlf false
git config --global core.autocrlf false
解决