赞
踩
在执行git add .的命令的时候警告LF will be replaced by CRLF the next time Git touches it
在windows中的换行符为 CRLF
, 而在linux下的换行符为:LF
使用git来生成工程后,文件中的换行符为LF, 当执行git add .时,系统则提示:LF 将被转换成 CRLF
关闭git的CRLF
rm -rf .git
git config --global core.autocrlf false
git init
git add .
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。