输入这样一句就可以了 git config core.filemode false 原网站:http://www.f15ijp.com/2012/08/git-diff-old-mode-100755-new-mode-100644/