Common mistake when creating new git repo. Error: src refspec master does not match any.
Git creates master branch only after commit to your local repo. If you just initialize repo then there is no master. How to fix it?
Just add and commit at least one change to your repo and re-run push command. You can add e.g. .gitignore.
Read full article from Common mistake when creating new git repo. Error: src refspec master does not match any.
No comments:
Post a Comment