- on your repo's root, run :
find . -type f -print0 | xargs -0 chmod -x
- commit this change on files :
commit -n -m 'fix: files permission from 100755 to 100644'
- then with
vim .git/config
, setfilemode
option tofalse
[core]
filemode = false
Ref: https://www.multacom.com/faq/password_protection/file_permissions.htm