rm -rf .git/gc.log
rm -rf .git/gc.log
➜ test git:(abc) gp
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log.
Automatic cleanup will not be performed until the file is removed.
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
Already up to date.
➜ test git:(abc) rm -rf .git/gc.log
➜ test git:(abc) gp
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
Already up to date.
➜ test git:(abc)
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14231923.html
未经授权禁止转载,违者必究!