Hooking our local repository to the remote repository


#1

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


#2

Did you set up your ssh key with a password?


#3

Yes, I have a password for my ssh key.


#4

Did you type the password when it asked you?


#5

yes…


#6

Whats the output of git remote -v


#7

#8

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.


#9

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

that’s the response


#10

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.


#11

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’.

#12

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