参考链接: https://stackoverflow.com/questions/17683458/how-do-i-commit-case-sensitive-only-filename-changes-in-git 又被坑了,记录一下。 git 修改文件名称大小写方法: git mv -f yOuRfIlEnAmE yourfilename git push