原文:[git] -- warning: LF will be replaced by CRLF in app/app.iml. The file will have its original line endings in your working directory.

遇到这个错误,因为是git的换行符检查功能。之前代码是在MAC下,后来放在windows系统下,git add .的时候报这个错误。 core.safecrlf git 提供了一个换行符检查功能 core.safecrlf ,可以在提交时检查文件是否混用了不同风格的换行符。 false 不做任何检查 warn 在提交的时候检查并报告 true 在提交时检查,如果发现混用则拒绝提交 建议使用最严格的 ...

2018-06-28 17:09 0 1626 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM