git stash blunder: git stash pop and ended up with merge conflicts

后端 未结 4 1789
滥情空心
滥情空心 2020-12-12 11:16

I did a git stash pop and ended up with merge conflicts. I removed the files from the file system and did a git checkout as shown below, but it thi

4条回答
  •  温柔的废话
    2020-12-12 11:32

    I had a similar thing happen to me. I didn't want to stage the files just yet so I added them with git add and then just did git reset. This basically just added and then unstaged my changes but cleared the unmerged paths.

提交回复
热议问题