reason
When GitHub created the project, the code was uploaded and the readme.md file was manually added to GitHub, but the local warehouse did not update the readme.md file.
resolvent
First, pull the files from the remote code base to the local code base, and then push the new code to the GitHub code base
Use the command to pull: git pull -- rebase origin master
and then upload: git push - U origin master
Read More:
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- git push error failed to push some refs to solution
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- Solve github :error: failed to push some refs to problem
- error: src refspec master does not match any error:failed to push some refs to ‘[email protected]:xxxx
- Error: failed to push some refs to ‘xxx’
- Git push you are not allowed to upload merges
- Failed to push some refs to
- You are not allowed to upload merges in Git push
- error: src refspec master does not match anyerror: failed to push some refs to
- Error: SRC refspec master does not match any. error: failed to push some refs to
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- How to Fix GIT Push Error
- [Git] git pull pull remote git push to remote git commit submit reject
- Git push “fatal: Authentication failed ”
- Android studio push project to GitHub
- Solve GitHub push error 403 Forbidden while accessing
- Gitpod cannot push to GitHub solution