git报错——LF will be replaced by CRLF in,nothing to commit, working tree clean
git add . 提示报错LF will be replaced by CRLF in
git commit -m ‘描述’ 提示报错 nothing to commit, working tree clean
原因是需要提交的文件是在windows下生成的,windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示,解决办法:
git confi...
原创
2020-04-09 08:34:33 ·
563 阅读 ·
1 评论