gitlab本地分支push代码出错问题
最近业务上,本地分支的代码版本落后于远程分支,导致push失败,
comman line
# git config --global pull.rebase true
# 再次push到自己的开发分支,依然报错
# 提示先pull
# error: You have not concluded your merge (MERGE_HEAD exists).
# hint: Please, commit your changes before merging.
# fatal: Exiting because of unfinished merge.
# git commit -m 'up'
# git push origin 分支
# 成功!
根据提示解决问题,看报错