
使用命令時出現此錯誤 -git add .
我已經嘗試了解決方案 -git config core.autocrlf true
但它不起作用。任何人都建議一個更好的解決方案。
uj5u.com熱心網友回復:
關于警告資訊本身(“ Windows git”警告:LF 將被 CRLF 取代”,是警告尾部向后嗎? ”),請始終使用:
git config --global core.autocrlf false- 帶有指令的
.gitattributes檔案core.eol
在您的情況下,正如評論的那樣,添加node_modules到您的.gitignore中,因為它通常在Node project.gitignore中完成。
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/443886.html
標籤:混帐
