Before this is questioned, I've browsed 4 similar threads that have not answered my question yet, so I'm posting now.
I'm doing a project through One Month Rails, have set up Git and GitHub without any problem until I go to do the following:
$ git push -u origin master
Then I got this output (originally):
fatal : No path specified. See man git-pull for valid url syntax.
Based on another SO thread, I tried these two commands:
$ git remote rm origin
$ git remote add origin 'git@github.com:rubymal/pinteresting.git'
I tried again:
$ git push -u origin master
Output:
error: src refspec master does not match any.
error: failed to push some refs to 'git@github.com:rubymal/pinteresting.git'
What could be the problem?