是因为git本地库长期不清理 解决方法 1.输入命令:git fsck --lost-found,可以看到好多“dangling commit” 2.清空他们:git gc --prune=now,完成