Change the End Of Line (EOL) of the source code from CRLF to LF

Spread the love

If you already have checked out the code, the files are already indexed.

Then execute the following commands,

git config --global core.autocrlf input

Then refresh the indexed code:

git rm --cached -r .

And rewrite the Git index with

git reset --hard
parathantl Avatar

Leave a Reply

Your email address will not be published. Required fields are marked *