how to revert 100644 → 100755 commits on your repo's root, run : find . -type f | xargs chmod -x then with vim .git/config, set filemode option to false [core] filemode = false