Welcome, Guest :: Blog Home | Login | Register

Article
Forcing Git To Ignore File Mode Changes

2009-11-22 18:54:22 Tags: git

Quick note on Git file mode changes...

In situations which require you to change the file mode on your local git repository (example: if you mount a local machine and need to set mode to 777 for user to be able to write file modifications), Git will recognize all files as modified (git status) after mode changes. Here's how we can force Git to ignore mode changes.

Code:
git config core.filemode false


Simple!

`Stephen

Comments:

There are no comments.

Please login or register to post comment.