3

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

4

1 回答 1

1

heroku git repos 并非设计为您的应用程序的存储点。它们用于部署,不要依赖它们进行存储......永远。去获取一个 github.com 帐户并将您的应用程序推送到那里进行存储。

于 2013-03-27T21:31:53.033 回答