! [remote rejected] branchA -> branchA (pre-receive hook declined)
error: Could not push some references to ‘gitlab.xxx.xxx.xxx/xxx.git’
Solution:
1. git reset [hash], then git push
2. git merge [master branch], then git push
Similar Posts:
- git:Pull is not possible because you have unmerged files [How to Solve]
- Git you are not allowed to push code to protected branches on this project?
- Git error: failed to push some refs [How to Solve]
- [Solved] Git pull error: You have not concluded your merge (MERGE_HEAD exists)
- Gitlab-error: RPC failed; result=22, HTTP code = 500 settlement
- Gitlab 403 Forbidden error [How to Solve]
- Conflict resolution after git error non fast forward
- fatal:’origin’ does not appear to be a git repository fatal:Could not read from remote re…