Search code examples
gitunixfile-permissions

Git: Track permission change 777 to 444


I have used chmod to change permissions on a file. This file is in my Git repository. I changed it from 777 to 444. Git does not show any changes to the file. How do I add this change to Git?

Using Git verion 1.7.9.5


Solution

  • You could remove the file from your repository and replace it with the file that you changed.