How to recover stashed uncommitted changes

前端 未结 6 743
一生所求
一生所求 2020-11-28 17:09

I had some uncommitted changes in my development branch and I stashed them using git stash, but there were some changes which were very important among those st

6条回答
  •  再見小時候
    2020-11-28 17:43

    To check your stash content :-

    git stash list

    apply a particular stash no from stash list:-

    git stash apply stash@{2}

    or for applying just the first stash:-

    git stash pop

    Note: git stash pop will remove the stash from your stash list whereas git stash apply wont. So use them accordingly.

提交回复
热议问题