Git stash pop- needs merge, unable to refresh index

后端 未结 10 1892
遥遥无期
遥遥无期 2020-12-12 20:00

I can\'t pop my stash because I merged a branch which apparently conflicts with my stash and now my stash is seemingly unable to be popped.

app.coffee: needs         


        
10条回答
  •  伪装坚强ぢ
    2020-12-12 20:45

    Its much simpler than the accepted answer. You need to:

    1. Check git status and unmerged paths under it. Fix the conflicts. You can skip this step if you'd rather do it later.

    2. Add all these files under unmerged paths to index using git add .

    3. Now do git stash pop. If you get any conflicts these will again need to be resolved.

提交回复
热议问题