Git推动需要永远 [英] Git push takes forever

查看:105
本文介绍了Git推动需要永远的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试推送到我的远程git存储库时,但它正在永久存在,没有任何反应。我等了这么久,但推动永远不会完成。我的操作系统是Ubuntu 12.10。谢谢。

解决方案

尝试使用 - verbose 选项来查看究竟发生了什么。即使你做了小改动,一些内部的东西可能会导致git推送更多的数据。



查看 git gc

一>。它会清理您的本地存储库并可能会加快速度,具体取决于您的问题。强烈建议备份。

When I am trying to push to my remote git repository, but it is taking forever and nothing happens. I waited for so long, but push is never getting finished. My OS is Ubuntu 12.10. Thank you.

解决方案

Try using the --verbose option to see what actually happens. Even if you did small changes, some internal things might cause git to push a lot more data.

Have a look at git gc. It cleans up your local repository and might speed up things, depending on you issue. Backup strongly advised.

这篇关于Git推动需要永远的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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