今天使用git add .的时候出现了一个错误。
错误如下:
warning: LF will be replaced by CRLF in tyrone-springboot-quickstart-withoutparent/pom.xml.
The file will have its original line endings in your working directory.
错误图片:
解决方案:
$ rm -rf .git // 删除.git
$ git config --global core.autocrlf false //禁用自动转换
参考链接:
http://blog.youkuaiyun.com/unityoxb/article/details/20768687