windows下使用git出现 warning: LF will be replaced by CRLF in git/.gitignore. 解决方案

感谢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 .



你可能感兴趣的:(git)