Can I make git diff ignore permission changes -


I unknowingly change the permissions of my entire tree and am committed to making changes alone with other content changes.

I use something like this:

 tar -czf deploy.tar  git diff --name-only v1 v2  

< P> Two tags to generate a tar with modified files, the problem is that now almost all my trees have been listed as modified due to permissions.

Is there any way that I can tell git diff to ignore those files that have only changed permissions?

This will tell the guit to ignore the permissions:

  GIT Config Core.FileModa False  

Comments