git 提示换行符LF 或者 CRLF

windows中的换行符为 CRLF, 而在linux下的换行符为LFlinux

解决:git

//禁用自动转换windows

git config --global core.autocrlf false

参考:http://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-importantcode

相关文章
相关标签/搜索