在执行git add * 之后
试试在你本地的repo上设置一下
git config core.filemode false git config core.eol lf
git-The file will have its original line endings in your working directory
原文:https://www.cnblogs.com/wen-/p/12400414.html