I have tried to follow the solutions suggested in this post but it didnt work and I am still getting: src refspec master does not match any.
Here is what I did: Fo
i have same problem, to solve it, follow these steps
git init git add . git commit -m 'message' git push -u origin master
after this, if you still having that error, follow these steps again
git add . git commit -m 'message' git push -u origin master
that worked for me and Hope it will help anyone