git 报错Git Pull Failed You have not concluded your merge

mac2026-08-24  0

由于上司还远版本,然后pull更新后出现以下报错:

Git Pull Failed         You have not concluded your merge (MERGE_HEAD exists).         Exiting because of unfinished merge.  

 

解决步骤:

在PHP storm 代码提交 commit 后, 可以从本地父文件夹 右键,选择 git bash here ,

然后在linux界面输入:

git fetch --all git reset --hard orign/master git pull

---------

中间需要知道Git 管理员密码是:xxxxxxx

如果不行,就再往上一层文件夹做

输指令的时候注意不要写错数字,输密码的时候是看不到输入状态的

 

最新回复(0)