I have a project in which I have to change the mode of files (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 changed. Is there a way to make git ignore mode changes that have been made to files?