爲什麼我的混帳取得與一個失敗的:從上游的github倉庫抓取失敗時掛斷
fatal: The remote end hung up unexpectedly
我是一個私人項目的合作者,並已成功分叉項目。我已經建立了遠程使用GitHub的例子:
git remote add upstream git://github.com/{upstream owner}/{upstream project}.git
我可以看到使用「混帳-v顯示-n上游」
Fetch URL: git://github.com/{upstream owner}/{upstream project}.git
Push URL: git://github.com/{upstream owner}/{upstream project}.git
我知道我的SSH密鑰作品加入遠程:
ssh -T [email protected]
Hi miketempleman! You've successfully authenticated, but GitHub does not provide shell access.
然而,當我試圖從上游資源庫更新我的本地庫:
[email protected]:~/{directory}$ git fetch upstream
fatal: The remote end hung up unexpectedly
對於這樣一個愚蠢的問題道歉。
已推到上游回購曾經有效?您確定上游所有者已爲您的用戶帳戶設置適當的權限嗎? – cfedermann 2012-04-13 20:15:27
我只是試圖用上游更改更新我的本地存儲庫。換句話說,讀取訪問更多。但它是一個簡單的存儲庫,所以我讀過的文檔表明我有讀/寫訪問權限。 – 2012-04-13 20:41:49