Git Mode Changes Over Network Mounted Share

When work with a mounted network share which doesn’t support modes, git will complain that all files have changed. To disable this, you can issue the following command:

git config core.filemode false

from git-config(1) :

   core.fileMode
       If false, the executable bit differences between the index and the
       working copy are ignored; useful on broken filesystems like FAT.
       See get-update-index(1). True by default.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">