Last Updated: February 25, 2016
·
7.144K
· highrockmedia

Make Git ignore Filemode changes

When you are working on your local development environment, sometimes you need to change permissions on various files. If any of those files are being tracked by Git, then Git thinks there has been a change to the file but in reality it was simply a permissions change. To ignore these changes, go to Terminal in the root of your git repo and type:

git config core.filemode false

From now on git will ignore any filemode changes!

1 Response
Add your response

Note that this is occasionally necessary, but rarely a good idea. It's important in most cases for your VCS to track your file permissions correctly, so that your repository can function properly.

over 1 year ago ·