You are correct. But, when we have multiple stash and If one would like to apply the stash which is in the middle, then pop doesn't solve it.
From git version 2.11 you can do git stash pop stash@{n}, or even better you can just use index instead stash@{n} like git stash pop n.
git stash pop stash@{n}
git stash pop n
Or when we want to stash specific files, we can't simply git stash too, as it will stash everything!
git stash
Yesss!
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You are correct. But, when we have multiple stash and If one would like to apply the stash which is in the middle, then pop doesn't solve it.
From git version 2.11 you can do
git stash pop stash@{n}, or even betteryou can just use index instead stash@{n} like
git stash pop n.Or when we want to stash specific files, we can't simply
git stashtoo, as it will stash everything!Yesss!