when I am typing the command git push origin master
i am getting an error. What to do?
The error I am getting is
error: src refspec main does not match any
error: failed to push some refs to 'origin'
when I am typing the command git push origin master
i am getting an error. What to do?
The error I am getting is
error: src refspec main does not match any
error: failed to push some refs to 'origin'
I think you have forgotten to add remote origin try doing
git remote add origin "your-repo-link"
After that make some commits and then trying pushing your repo.