git出现“The file will have its original line endings in your working directory”错误

Posted igoodful

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了git出现“The file will have its original line endings in your working directory”错误相关的知识,希望对你有一定的参考价值。

一、现象:

git add *时出现如下现象:

The file will have its original line endings in your working directory

解决:

Gitshell中输入如下命令解决:

git config --global core.autocrlf false

 

以上是关于git出现“The file will have its original line endings in your working directory”错误的主要内容,如果未能解决你的问题,请参考以下文章

[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 will have its original line endings in your working directory

Git使用中git pull出现错误

Ubuntu git提交出现这个界面怎么退出

WebStorm在WebStorm中Git菜单不显示?WebStorm如何做到右键菜单出现Git&右下角出现分支信息