GitHub错误:找不到存储库。致命的:远端意外挂断 [英] GitHub ERROR: Repository not found. fatal: The remote end hung up unexpectedly
问题描述
我试图沿着Michael Hartl的Ruby on Rails教程 http:// ruby .railstutorial.org / chapters / beginning#fnref:1.16 ,但我遇到了一个错误。我在GitHub上注册并发布了一个新的SSH密钥并创建了一个新的存储库。但是,当我尝试将我的存储库提升到GitHub时,出现以下错误:
I'm trying to follow along Michael Hartl's Ruby on Rails tutorial http://ruby.railstutorial.org/chapters/beginning#fnref:1.16, but I've run across an error. I signed up on GitHub and issued a new SSH key and made a new repository. But when I try to push my repository up to GitHub I get the following error:
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly
任何想法?
以下是我在终端中输入的一些命令:
Here are some of the commands I entered into the terminal:
Parkers-MacBook-Pro:.ssh ppreyer$ git remote add origin git@github.com:ppreyer/first_app.git
Parkers-MacBook-Pro:.ssh ppreyer$ git push -u origin master
ERROR: Repository not found.
fatal: The remote end hung up unexpectedly – ppreyer 6 mins ago
这里是什么 git remote -v
显示:
And here is what git remote -v
shows:
Parkers-MacBook-Pro:.ssh ppreyer$ git remote -v
github git@github.com:ppreyer/first_app.git (fetch)
github git@github.com:ppreyer/first_app.git (push)
origin git@github.com:ppreyer/first_app.git (fetch)
origin git@github.com:ppreyer/first_app.git (push)
推荐答案
您的存储库名为MyFirstRailsApp,但似乎您已将其删除。这就是你错误的原因。
Your repository was called "MyFirstRailsApp" but it appears you've deleted it. That's the reason for your error.
这篇关于GitHub错误:找不到存储库。致命的:远端意外挂断的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!