← Quiz: Undoing Changes: all 10 questions
Quiz: Undoing Changes · Question 10 of 10
After git stash, how do you bring the saved work back and remove it from the stash list?
After git stash, how do you bring the saved work back and remove it from the stash list?
- A.git stash list
- B.git stash pop
- C.git stash save
- D.git restore --stash
Answer & explanation
Correct answer: git stash pop
pop applies the latest stash and removes it; apply keeps it in the list.
Can you get the rest right without peeking?
Take the timed Quiz: Undoing Changes quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →