Trying to connect a git repository to github

I am working on this exercise. When I try to complete step #6 of pushing the exiting repository from the command line I get this error:

$ git push -u origin master
error: src refspec master does not match any.
error: failed to push some refs to ‘

I am completely lost on why I’m getting this error as I’m confident I’ve followed the directions correctly.

1 Like

Need to commit something in order to have something to push

1 Like