I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them,
add
commit
git push -u origin master error: src refspec master does not match any.
For that you need to enter the commit message as follows and then push the code:
git commit -m "initial commit" git push origin master
Successfully pushed to master.