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:

git config core.fileMode false


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.