文件权限变更git也会检测到并提交。
git config core.filemode false // 当前版本库 git config --global core.fileMode false // 所有版本库
本文来自博客园,作者:dolinux,未经同意,禁止转载