这好像是git gc --aggressive
确实清理了我的仓库,但是当我这样做时git push
一切都已经是最新的了。有没有办法清理服务器?
2012: I know that GitHub will run git gc
periodically, as the GitHub support mentioned in this thread http://groups.google.com/group/github/browse_thread/thread/8215f1ca7ca18f4a/f9dfeca9eaebbac4?pli=1.
自 2012 年起(至 2023 年):
不知道你自己能不能强迫一下。
我在网上没看到有这样的服务GitHub 挂钩 https://github.com/blog/964-all-of-the-hooks.
如图所示“如何从 GitHub 删除悬空提交? https://stackoverflow.com/a/4368673/6309", no git gc
似乎是ever在远程 GitHub 存储库上执行。
这意味着任何远程存储库清理都将是显式请求的结果GitHub 支持 https://support.github.com/.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)