git忽略文件mode修改
git config core.fileMode falsecore.fileMode
If false, the executable bit differences between the index and the
working copy are ignored; useful on broken filesystems like FAT.
See git-update-index(1). True by default.git -c core.fileMode=false diffgit config --global core.fileMode falsefind . -type d -exec chmod a+rwx {} \; # Make folders traversable and read/write
find . -type f -exec chmod a+rw {} \; # Make files read/write参考
Last updated