Project: Your First Rails Application help


So im up to this stage 3.3
git remote add origin
git push -u origin master

when i git push -u origin master, i get this from terminal:

error: src refspec master does not match any.
error: failed to push some refs to ‘’


also when I try to ad another repository: git remote add origin

i get this error: fatal: remote origin already exists.

I know nothing of github or terminal stuff if it wasnt already obvious, so im stuck on how to proceed.


Make sure you don’t put the <> while entering your git remote add origin ssh from git in the first command. Do that first before entering the second command.


fixed. what i did was: git remote rm origin(thanks stack overflow) deleted repositories. added original repository again. cd Projects > cd odin_on_rails > cd my_first_rails_app then redid:
git remote add origin
git push -u origin master

seems to have worked


I think i did start by adding the <>, probalies the start of the problem


Yes that should be taken as a place for the ssh key.