1 2 |
git config core.fileMode false |
From git-config(1):
1 2 3 4 5 |
core.fileMode If false, the executable bit differences between the index and the working copy are ignored; useful on broken filesystems like FAT. See git-update-index(1). True by default. |
The -c flag can be used to set this option for one-off commands:
1 2 |
git -c core.fileMode=false diff |
And the –global flag will make it…