Git stash pop- needs merge, unable to refresh index

后端 未结 10 1907
遥遥无期
遥遥无期 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:23

    Here's how I solved the issue:

    • git status (see a mix of files from a previous stash, pull, stash pop, and continued work.)
    • git stash (see the needs merge issue)
    • git add . (add the files so my work locally resolves my own merged)
    • git stash (no error)
    • git pull (no error)
    • git stash pop (no error and continue working)

提交回复
热议问题