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

网友投稿 1040 2022-10-10

git出现“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”错误

一、现象:

git add *时出现如下现象:

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

解决:

Gitshell中输入如下命令解决:git config --global core.autocrlf false

git的家目录下面的config文件修改也可以:

[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true longpaths = true autocrlf = false

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:JEECG BOOT APP移动解决方案,采用uniapp框架,一份代码解决多终端适配(APP、小程序、H5)
下一篇:windows 操作系统下git报filename too long 处理方法
相关文章

 发表评论

暂时没有评论,来抢沙发吧~