git gc - 进攻服务器? [英] git gc --aggressive push to server?

查看:99
本文介绍了git gc - 进攻服务器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

看起来像 git gc --aggressive 确实会清理我的回购,但当我执行 git push 已经是最新的了。有没有办法清理服务器?

It seems like git gc --aggressive really cleans up my repo, but when I do git push everything is already up-to-date. Is there a way to clean up the server?

推荐答案

我知道Github会定期运行git gc,因为Github支持提到该线程

I know that Github will run git gc periodically as the Github support mentions in this thread.

我不知道你是否可以自己强制它。

我没有在 Github hooks

I don't know if you can force it yourself though.
I didn't see such a service in the Github hooks.

这篇关于git gc - 进攻服务器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆