Hi all,

Can you please help with this one?

I’m on Add the Remote part of the Deploy your website to GITHUB pages.

Instruction 1.
In the terminal, add the remote that points to the repository you created earlier. I enter
git remote add origin

And get the following:

$ git remote add origin
fatal: remote origin already exists.

Can you please tell me what I need to do next to move on from here?


From what the error says: “remote origin already exists”, it seems you are ready to move on to the next step, which might be pushing to origin master.


Thanks for your answer.

I have tried pushing the origin master and now get the following:

$ git push origin master

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

Would you know how to resolve this issue?


Oh, the middle step. You need to make changes and do a git commit first.


and git add before you commit


This topic was automatically closed after 7 days. New replies are no longer allowed.