解决 The file will have its original line endings in your working directory
Posted kaerxifa
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决 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 .
. 代表当前目录
---------------------
作者:badly1226
来源:CSDN
原文:https://blog.csdn.net/liereli/article/details/80824804
版权声明:本文为博主原创文章,转载请附上博文链接!
以上是关于解决 The file will have its original line endings in your working directory的主要内容,如果未能解决你的问题,请参考以下文章
windows10下git报错warning: LF will be replaced by CRLF in readme.txt. The file will have its original l
[git] -- warning: LF will be replaced by CRLF in app/app.iml. The file will have its original line e
git上传代码报错-The file will have its original line endings in your working directory
解决The file “FWLifeApp” couldn’t be opened because you don’t have permission to view it.问题
The file “XXX” couldn’t be opened because you don’t have permission to view it.解决方法
the file couldn't be opened because you don't have permission to view it