Git diff with filemode changes

git file

When you do a

git diff

And you see a lot of files you haven’t changed you would say ‘what is going on’?? and bang your head with brick wall – well don’t do that please 🙂

Mostly it might have something todo with the file changes taking place. Especially if you have moved your folder or something like that, it would be the problem.

Here is the good news, you can tell git not to worry about the file mode changes through

git config core.fileMode false

This should take care of the problem you are having.

That would take care of git showing all the files being changed to their normal state.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*