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
Written by kurt campher
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#