2011-07-03 65 views
0

这里就是我打字:Git的克隆致命下载错误

[email protected]:/home# git clone https://github.com/jbalogh/django-cache-machine.git 

这里就是我得到:

Initialized empty Git repository in /home/django-cache-machine/.git/ 
fatal: https://github.com/jbalogh/django-cache-machine.git/info/refs download error - 

任何时候,我尝试克隆公共混帐回购协议失败这样的(我在Linode btw上)。我可以克隆我自己的私人回购W/O问题。任何想法有什么不对?多谢你们。

+1

我假设你使用SSH克隆私人回购协议?您是否尝试过使用GIT协议而不是HTTP? git://github.com/jbalogh/django-cache-machine.git – svick

+1

你使用的是什么版本的git?这可能与此有关:https://github.com/blog/809-git-dumb-http-transport-to-be-turned-off-in-90-days – matt

+0

为什么你运行git clone作为根? –

回答

0

我最终通过升级Git来解决这个问题。基本上按照this SO post的说明进行操作。