天天看點

The file will have its original line endings in your working directory.

錯誤描述:

git送出時提示錯誤:The file will have its original line endings in your working directory.

好像是mac的檔案,然後拷貝到windows上就會出現這個問題,我的是這樣的

解決辦法

執行指令

git rm -r –cached ./

git config core.autocrlf false

git add ./