如何在 Gitblit 服务器上手动 GC?
How to manually GC on a Gitblit server?
如何在不使用实验性 GC(= 垃圾收集)的情况下删除我的 Gitblit 存储库上的提交?强制推送后,这个微妙的提交不再有引用,但仍然可以通过 GUI 看到。我可以在服务器上安装 Git(在 Gitblit 旁边)和 运行
git gc --prune=now
git reflog expire --expire=now --all
?
这个微妙的提交 ID 在文件系统中不存在,我猜是因为打包。
Gitblit v1.7.1
安装 Powertools plugin then issue the GC command via SSH. See this asciicast 了解更多信息。
如何在不使用实验性 GC(= 垃圾收集)的情况下删除我的 Gitblit 存储库上的提交?强制推送后,这个微妙的提交不再有引用,但仍然可以通过 GUI 看到。我可以在服务器上安装 Git(在 Gitblit 旁边)和 运行
git gc --prune=now
git reflog expire --expire=now --all
?
这个微妙的提交 ID 在文件系统中不存在,我猜是因为打包。
Gitblit v1.7.1
安装 Powertools plugin then issue the GC command via SSH. See this asciicast 了解更多信息。