git解决 The file will have its original line endings in your working directory
解决 The file will have its original line endings in your working directory首先出现这个问题主要原因是:我们从别人github地址上通过git clone下载下来,而又想git push到我们自己的github上,那么就会出现上面提示的错误信息;错误信息如下图:此时需要执行如下代码: git rm -r --cached . git config core.autocrlf false git add .