Thursday, October 25, 2018

git on windows -- file permissions

I had some problems with git on windows reporting some files modified.

git show on those files showed only that file permission modes had changed.  This would likely have been due to some permissions on linux which don't exist on windows.

This is fixed by following denisw's advice

# For the current repository
git config core.filemode false   

# Globally
git config --global core.filemode false