warning: LF will be replaced by CRLF in tyrone-springboot-quickstart-withoutparent/pom.xml. The file

今天使用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.csdn.net/unityoxb/article/details/20768687

你可能感兴趣的:(Git)