Git file mode permissions
In certain situations, there can be nuisance Git dirty repo messages like:
old mode 100755
new mode 100644
The root cause of this false dirty Git status is loss of fidelity of the executable file mode bit. This can occur in situations including:
- Using WSL Git on a native Windows filesystem or vice versa
- Linux HPC where files are shared between users
Workaround this ambiguous executable filemode bit for each Git client by executing within the Git repository:
git config core.filemode false