Hooking our local repository to the remote repository


Don’t know what to do with this output. Need some help guys… :tired_face:


Did you set up your ssh key with a password?


Yes, I have a password for my ssh key.


Did you type the password when it asked you?




Whats the output of git remote -v



The issue is that you have set up the remote to the above but it’s actually my_first_rails_app with an s on the rails.

You will need to do the following

git remote rm origin
git remote add origin https://github.com/shengelenge/my_first_rails_app.got

Then you can try and push up.


remote: Repository not found.
fatal: repository ‘https://github.com/shengelenge/my_first_rails_app.got/’ not found

that’s the response


Bugger, it was supposed to be .git

You’ll have to run git remote -v again and remove origin as above if it’s there

If you go to your page on github it will also give you the link you can use to add to origin.


Something worked:

Enumerating objects: 115, done.
Counting objects: 100% (115/115), done.
Delta compression using up to 4 threads
Compressing objects: 100% (100/100), done.
Writing objects: 100% (115/115), 26.88 KiB | 1.92 MiB/s, done.
Total 115 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), done.
To https://github.com/shengelenge/my_first_rails_app.git

  • [new branch] master -> master
    Branch ‘master’ set up to track remote branch ‘master’ from ‘origin’.


OK, I think it’s working. Thank you for your help :smile: