使用git的时候,终端提示warning: There are too many unreachable loose objects; run 'git prune' to remove them.
原因:
提交的改动过多,导致本地的缓冲区占用太大。
解决:
执行下面的命令,清理优化本地的 git 项目
git prune
或
git gc --prune=now
使用git的时候,终端提示warning: There are too many unreachable loose objects; run 'git prune' to remove them.
原因:
提交的改动过多,导致本地的缓冲区占用太大。
解决:
执行下面的命令,清理优化本地的 git 项目
git prune
或
git gc --prune=now