I have tried for the first time to upload files from my local computer to github.
On trying to upload them I get the error
error: src refspec master does not match any.
error: failed to push some refs to 'https://github.com/name/file.git'
I have looked around stackoverflow for similar issues and found This question which I thought had answered my question. I added
git remote rm origin
git remote add origin https://github.com:name/file.git
and nothing happend, what else do I need to add?
===EDIT===
after further looking I found that
git commit -m 'my message' would do it
This returned the message
5 files changed, 162 insertions(+)
On going to my repository nothing has been added