I have a file that am tracking with git in a project, whenever i change the mode of the file to anything mode other than granting write access to the file, git ignores those changes ( which is causing a bug in the project ).
for example a file edit.json if i change the mode with
chmod 666 edit.json
git ignores that the mode of the file have changed ( especially if i turn on write access to the file for group and others )
How can i get pass this problem ?