Skip to content

Ignore permission changes when comparing files in Git

If you work on a Linux system, you may have encountered the issue that comparing files with git also throws up when the permission of a file changed (which is sometimes required, depending on your development setup). You can ignore those by running the following command in the folder of the repository:

git config core.filemode false


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.