‘git status’ shows changed files, but ‘git diff’ doesn’t

For me, it had something to do with file permissions.
Someone with Mac/Linux on my project seems to commit some files with non-default permissions which my Windows Git client failed to reproduce.

The solution for me was to tell Git to ignore file permissions:

git config core.fileMode false

Other insight: How do I make Git ignore file mode (chmod) changes?

Leave a Comment