$ git diff --cached --name-only -z | xargs -0 git add # Commit $ git commit -m "Fix CRLF" core.autocrlf is described on the man page. Git 中 warning: LF will be replaced by CRLF in readme.txt.问题解决 ... Notepad would ignore them and display everything as one line of text). git config core.autocrlfis true on this machine. You can just delete and re-checkout the offending files from the index like this: rm
The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF Code Example The file will have its original line endings in your working directory warning lf will be replaced by crlf meaning fatal: LF would be replaced by CRLF in .gitignore after running git add git warning: LF will be replaced by CRLF in windows git warning: LF will be replaced by CRLF in .htaccess.sample. but it didn't make a visible difference. Hacer que las advertencias de Git "LF sean reemplazadas por CRLF" desaparezcan Configuré Git para que no cometa terminaciones de línea inconsistentes. What we … CRLF The file will have its original line endings in your working directory why lf is replaced by crlf warning: LF will be replaced git warning: LF will be replaced by CRLF in mobile/App.js. lf will be replaced by crlf. warning: LF will be replaced by CRLF in Code Example