原文:[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