Last Updated: February 25, 2016
·
1.107K
· campherkurt

Git picks up file mode changes... Aaaargh!

When setting up a project for local devving and editing one php script, i ran git status and noticed that all the files were "modified".
You see, git not only notices code changes BUT changes to file modes as well. This can be pretty irritating (or maybe not).

To stop this tomfoolery , run the below snippet in your CLI:

git config --global core.filemode false

This will sort out all repos and stop the verbosity.

Cheers