How do I make git ignore mode changes
By default, if you have changed the file permission, git will also count the changes in file mode , e.g.
# git diff TEST.txt diff --git a/TEST.txt b/TEST.txt old mode 100644 new mode 100755
To ignore, simply type
# git config core.filemode false