fix crlf for entire git repo

edit✏️

Final Result

git checkout main
git reset --hard
git rm -rf --cached .
echo "* text=auto" > .gitattributes
git add .