Monday, July 11, 2011

GIT: Ignore File mode/right changes

If you have files or directories under git control and change the rights of them, git does recognize them as changed.
To force git to ignore these changes just execute the following.

git config core.filemode false

You can reenable that after all files have a new revision because of an actual change and are comitted in the new mode anyway.

No comments:

Post a Comment