heroku git clone会导致致命错误:index-pack失败 [英] heroku git clone gives fatal: index-pack failed

查看:256
本文介绍了heroku git clone会导致致命错误:index-pack失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



但是当我回到家时,我试图克隆它它使用了我在办公室的相同命令:

  git clone git@heroku.com:xxxxx.git 

它给了我:

 克隆到'xxxxx'... 
remote:计数对象:110,完成。
remote:压缩对象:100%(109/109),完成。
从xx.xx.xx.xx收到断开连接:10:用户关闭连接
致命:远程端意外挂起
致命:早期EOF
致命:索引包失败

我家里的电脑是一个macbook,但我可以创建一个回购库并成功推送到heroku〜 / p>

顺便说一句,我未能克隆的回购仅为13MB,所以我不认为这是大小问题~~~



这让我疯狂,希望有人能帮助我,谢谢:| 成为您的应用程序的存储点。它们仅存在于部署中,不要依赖它们来存储......永远。去抢github.com帐户,并将您的应用推送到那里进行存储。

I got a repo on heroku and I can push and clone it from my pc in office (win os).

But when I got home I tried to clone it using the same command I did in office:

git clone git@heroku.com:xxxxx.git

and it gives me:

Cloning into 'xxxxx'...
remote: Counting objects: 110, done.
remote: Compressing objects: 100% (109/109), done.
Received disconnect from xx.xx.xx.xx: 10: user closed connection
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed 

my PC at home is a macbook but I can create a repo and push it to heroku successfully ~

BTW the repo I failed to clone is only 13MB so I don't think it's a matter of the size ~~~

It's driving me crazy and hope someone can help me, thanks :|

解决方案

The heroku git repos are not designed to be a point of storage for your app. They exist solely for deployment, do not depend on them for storage... ever. Go grab a github.com account and push your app there for storage.

这篇关于heroku git clone会导致致命错误:index-pack失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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