git报错warning: LF will be replaced by CRLF
感谢http://blog.csdn.net/unityoxb/article/details/20768687博主的解决方案
问题
warning: LF will be replaced by CRLF in git/.gitignore.
The file will have its original line endings in your working directory.
解决
rm -rf .git
git config --global core.autocrlf false
git init
git add .