Git Ignore File Mode Changes

Source URL: https://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-changes

Language: shell

Created on: 2020-04-30 20:33:11

git config core.fileMode false
I have a project in which I have to change the mode of files with chmod to 777 while developing, but which should not change in the main repo. Git picks up on chmod -R 777 . and marks all files as
content_copy