git status shows modifications, git checkout — doesn’t remove them

There are multiple problems the can cause this behaviour: Line ending normalization I’ve had these kinds of problems too. It comes down to git automatically converting crlf to lf. This is typically caused by mixed line endings in a single file. The file gets normalized in the index, but when git then denormalizes it again … Read more