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
Any ideas?
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
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)