When I hit the push step, I get this error: “error: src refspec master does not match any.”
Crawford Collins
1
I googled this and it may be a couple things. You might’ve accidentally forgotten the “git commit” step. If you did that, try this command:
git push -u origin master
Here are the two resources I found that might help you:
src refspec master does not match any when pushing commits in git
I cloned my repository with: git clone ssh://xxxxx/xx.git but after I changed some files and add and commit them I want…stackoverflow.com
I cloned my repository with: git clone ssh://xxxxx/xx.git but after I changed some files and add and commit them I want…stackoverflow.com
http://stackoverflow.com/questions/24114676/git-error-failed-to-push-some-refs-to