本文主要是介绍git add时,出现warning: LF will be replaced by CRLF in ......的解决方法,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
windows中的换行符为 CRLF, 而在Linux下的换行符为LF,所以在执行git add 。 时会出现以下提示:
warning: LF will be replaced by CRLF in about/index.html.
The file will have its original line endings in your working directory
解决办法:
git config core.autocrlf false
这篇关于git add时,出现warning: LF will be replaced by CRLF in ......的解决方法的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!