試圖爲GitHub添加一個空白的示例應用程序的rails教程,但我得到這個錯誤(顯然是共同的,但我通過其他職位搜索解決方案,並找不到一個適用於我)。沒有找到GitHub錯誤倉庫
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
我得到的錯誤都當我嘗試一下軌教程提示:
$ git remote add origin [email protected]:<username>/sample_app.git
$ git push -u origin master
,然後漂亮的類似提示,我創建GitHub的庫說嘗試:
$ git remote add origin https://github.com/<username>/sample_app.git
$ git push -u origin master
我一直這樣做,從sample_app目錄和承諾後:
$ git commit -a -m "Improve the README"
(which is the last change I made and the only one before trying to push it to github)
幫助?
'git status','git log','git remote -v'和'git branch -avv'的輸出是什麼? – ellotheth
你定義了你的公鑰嗎? – sensorario