git config core.autocrlf false git rm --cached -r . # Don’t forget the dot at the end git reset --hard