GIT – ignore file permissions

Note: added here to find it much easier.

From git-config(1):

The -c flag can be used to set this option for one-off commands:

And the --global flag will make it be the default behavior for the logged in user.

Warning core.fileMode is not the best practice and should be used carefully. This setting…