When you get the next error:
error: src refspec major doesn't match any
error: did not push some refs to 'https://github.com/ao/xxx.git'
It’s because you in all probability haven’t dedicated any recordsdata to git but!
Repair for: src refspec major doesn't match any
Be certain that so as to add your recordsdata, in the event that they haven’t been added but:
git add .
Commit your recordsdata:
git commit -m "your commit message"
Push your modifications to the git repo, bear in mind to swap out the department identify as acceptable:
git push origin major
Want a deeper dive?
For extra in depth data, you may go to Solved Error src Refspec Primary Does Not Match