GIT – Ignore file permission changes

I had seen, git use to consider the file permission change as a modification to the files/folders. And we use to either commit the changes or stash before taking pull. This was really not needed.

To fix this issue, please use the below command which ignores the file permission changes.

git config core.filemode false

Leave a Reply