Berechtigungen bei »git status« ignorieren
Standardmäßig ist für »git status« eine Änderung der Dateiberechtigungen bereits eine Änderung. Falls man das nicht möchte, kann man für das Repository folgende Eigenschaft setzen:
git config core.filemode false
Oder global für alle Repositories:
git config --global core.filemode false
Aus der Git-Manual:
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.
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.
Links: