How to recover stashed uncommitted changes

前端 未结 6 741
一生所求
一生所求 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:44

    To make this simple, you have two options to reapply your stash:

    1. git stash pop - Restore back to the saved state, but it deletes the stash from the temporary storage.
    2. git stash apply - Restore back to the saved state and leaves the stash list for possible later reuse.

    You can read in more detail about git stashes in this article.

提交回复
热议问题