Choosing Your Stash
Learn how to deal with multiple stashes that are on the stack.
We'll cover the following
Now, you have two changes in your stash’s stack.
Applying two stashes
Type this sequence out. It will stash two similar-looking changes.
1 mkdir lgthw_git_stash_2
2 cd lgthw_git_stash_2
3 git init
4 echo 'Some content' > file1
5 git add file1
6 git commit -am initial
7 echo 'First changes I am not sure about' >> file1
8 git stash
9 echo 'Second change I am also not sure about' >> file1
10 git stash
11 git stash list