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:

[sc name=”src” url=”https://stackoverflow.com/questions/3290512/can-i-make-git-diff-ignore-permission-changes” ]

Be First to Comment

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.