Let's assume I want to merge branch_B
to branch_A
. I did:
git checkout branch_A
git merge branch_B
This resulted into a wall of conflicts that took me quite a long time to fix. Then, I had to do something urgently on branch_C
. I did:
git stash
git checkout branch_C
Now, I am done with the branch_C
and want to continue with my merge. I did:
git checkout branch_A
git stash pop
However, the merge is now viewed as a simple diff between branch_A
and my merge attempt. How do I unstash these changes as a merge being in progress?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…