`git stash` during a merge conflict

前端 未结 5 975
猫巷女王i
猫巷女王i 2021-02-02 08:46

We\'ve done something bad.

We ran git stash save during a merge conflict, and now we can\'t restore our work.

Things we\'ve tried:

g         


        
5条回答
  •  青春惊慌失措
    2021-02-02 09:18

    When you are in a conflicted state ( index and working directory), you will not be able to do git stash - it will give an error sating unmerged entries.

    Make sure that you have really done a stash. See output of git stauts and git stash show

提交回复
热议问题