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
Leave a Reply