本文主要是介绍The file will have its original line endings in your working directory.,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
错误描述:
git提交时提示错误:The file will have its original line endings in your working directory.
好像是mac的文件,然后拷贝到windows上就会出现这个问题,我的是这样的
解决办法
执行命令
git rm -r –cached ./
git config core.autocrlf false
git add ./
这篇关于The file will have its original line endings in your working directory.的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!