heroku git clone gives fatal: index-pack failed

删除回忆录丶 提交于 2020-01-01 14:51:32

问题


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 :|


回答1:


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.



来源:https://stackoverflow.com/questions/15659823/heroku-git-clone-gives-fatal-index-pack-failed

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!