Git Config – Ignore Permission Changes

Editing files on a local Linux file system and over a Samba share, the file permissions look different. Aaaand all of the files show up as changed. There is a git config (core.fileMode) to avoid considering file permissions to be a change:

git config –global core.fileMode false

Leave a Reply

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.