**
The error code is reported as follows
* *
To [email protected]:Fu4ng/Cpp.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]:Fu4ng/Cpp.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
The solution
The problem arises because you do not have a READme.md file in your local library
The solution is also simple
enter git pull --rebase origin master
to pull down the MD file on github.
You can successfully upload your code by typing in the Git push-u Origin Master.
Read More:
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- GitHub upload failed: git push error: failed to push some refs to exception handling
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- error: src refspec master does not match any error:failed to push some refs to ‘[email protected]:xxxx
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- git push error failed to push some refs to solution
- Error: failed to push some refs to ‘xxx’
- error: src refspec master does not match anyerror: failed to push some refs to
- Failed to push some refs to
- Push failed Unable to access ‘https://github.com/‘: Failed to connect to github.com port 443: Timed
- Error: SRC refspec master does not match any. error: failed to push some refs to
- Solve GitHub push error 403 Forbidden while accessing
- Android studio push project to GitHub
- How to Fix GIT Push Error
- Problem solving: failed to connect to github.com port 443: Operation timed out(2020.06.04)
- GitHub push ErrorThe requested URL returned error: 403 Forbidden while accessing
- Gitpod cannot push to GitHub solution
- fatal: unable to access ‘https://github.com/xxx‘: Failed to connect to github.com
- To solve the problem of failed to load: data in HTML5 game running rmmv locally/ actors.json problem