git stash -> merge stashed change with current changes

后端 未结 8 2271
故里飘歌
故里飘歌 2020-12-12 13:27

I made some changes to my branch and realized I forgot I had stashed some other necessary changes to said branch. What I want is a way to merge my stashed changes with the

8条回答
  •  既然无缘
    2020-12-12 13:57

    you can easily

    1. Commit your current changes
    2. Unstash your stash and resolve conflicts
    3. Commit changes from stash
    4. Soft reset to commit you are comming from (last correct commit)

提交回复
热议问题