Skip to content

Ignore permission changes in Git

Usually, Git tracks permission changes (especially chmod) of files. For example, you may need to make a file executable. You can disable that tracking by changing the configuration using the following command:

[sc name=”src” url=”https://stackoverflow.com/questions/1580596/how-do-i-make-git-ignore-file-mode-chmod-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.