试图为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