Git merge error “commit is not possible because you have unmerged files”

后端 未结 7 1117
陌清茗
陌清茗 2020-11-29 17:11

I forgot to git pull my code before editing it; when I committed the new code and tried to push, I got the error "push is not possible".

At tha

7条回答
  •  隐瞒了意图╮
    2020-11-29 17:28

    You can use git stash to save the current repository before doing the commit you want to make (after merging the changes from the upstream repo with git stash pop). I had to do this yesterday when I had the same problem.

提交回复
热议问题