If you download a project from the remote branch master, you will modify the project and commit it. If someone else commits a project from the remote branch master, the change can be different. If you pull the same project, you will have a problem. You are not allowed to upload merges when you pull the code and merge it by default. You are not allowed to upload merges when you push the code. Gerrit does not allow local merge submissions by default.
Solution:
Object: you
Git rebase master git rebase master
If there is a conflict, resolve the conflict manually (enter the conflict file to resolve it) and then
Git rebase – continue
Then, in a push
Read More:
- git push error failed to push some refs to solution
- How to Fix GIT Push Error
- You need to resolve your current index first
- Solve github :error: failed to push some refs to problem
- [Git & GitHub] Solution: error: failed to push some refs to’https://github.com/xxxx.git’
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- Error: failed to push some refs to ‘xxx’
- Error: You have not concluded your merge (MERGE_HEAD exists)
- You are not allowed to upload merges in Git push
- Git failed to submit data error: failed to push some refs to’https://github.com/XXXXXXX/gif.git’
- How to solve error: failed to push some refs to ‘[email protected]:……git pull conflict
- Merging is not possible because you have unmerged files
- Resolving fatal: reusing to merge unrelated histories in Git
- Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then
- Failed to push some refs to
- pathspec ‘master’ did not match any files known to git
- Git did not exit cleanly (exit code 128)
- Git pull error: pull is not possible because you have unmerged files
- Git uploads local IntelliJ idea project to GitHub