问题:
git更新代码push的时候出现如下:
Auto packing the repository in background for optimum performance.
See “git help gc” for manual housekeeping.
Nothing new to pack.
解决:
方法一:
1.输入命令:git fsck --lost-found,出现很多“dangling commit”
2.清空他们:git gc --prune=now,完成
方法二:执行$ find .git/objects -type f,再执行$ git gc