I'm doing the Ruby on Rails tutorial and I'm getting into a problem. I've already made a hello_app (cap one) repository, and now I'm trying to make the toy_app (cap two) . This is the walkthrough of the tutorial:
1) I created a new directory (toy_app) and typed:
"$ bundle install --without production" pra instalar os gems.
2) So we need to insert toy_app into the versioning system:
$ git init
$ git add -A
$ git commit -m "Initialize repository"
Successfully done too!
3) Create repository in bitbucket . Here is my problem. In chapter one I already created a repository. Now, I came into Bitbucket , I created the new repository "toy_app" (I do not need to add "SSH Key", right?). Bitbucket directs you to type:
$ cd toy_app
$ git remote add origin [email protected]:MoisesHotmail/toy_app.git
$ git push -u origin --all
$ git push -u origin --tags
But when I typed the second command, the following message appeared:
conq: repository does not exist. fatal: Could not read from remote repository. Please make sure you have the correct access rights the repository exists.
What do I do? I can not go on. Can you help me?