Complete the command to restore the latest stash and remove it from the stash list.
git [1]The git stash pop command restores the latest stash and removes it from the stash list.
Complete the command to restore a specific stash by its name and remove it from the stash list.
git stash pop [1]stash@{3} when it doesn't exist.The stash stash@{0} is the most recent stash. Using git stash pop stash@{0} restores and removes it.
Fix the error in the command to restore the latest stash and remove it from the stash list.
git stash [1]The correct command is git stash pop. Adding stash@{0} after pop is optional but not part of this fix.
Fill both blanks to restore the second stash and remove it from the stash list.
git stash [1] [2]
Use git stash pop stash@{1} to restore and remove the second stash in the list.
Fill all three blanks to restore a stash by name and then drop the stash manually.
git stash [1] [2] && git stash [3] [2]
git stash apply stash@{0} restores the most recent stash without removing it from the list. Then git stash drop stash@{0} removes it manually.