I have an issue to push file to my repo.
I have this error message : Error: src refspec master does not match any, as seen here:
Can someone help me get past this error?
CodePudding user response:
If there is no branch at all, check if you have at least one commit:
git log --oneline --decorate --graph --all --branches
If not, try at least to make one commit:
git status
git add .
git commit -m "first commit"
git push -u origin master
Check