Git diff with filemode changes

git file

Git diff with filemode changes

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.

find longest word in the sentence

Get maximum occurring character

Flatten nested javascript array

Implement Queue Using two Stacks – JavaScript algorithm

Update Node and npm on mac OSX

Tunneling to AWS instance using pem file

Leave a Reply

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

*
*