2011-07-03 120 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的說明進行操作。