🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.git stash list
  2. B.git stash pop
  3. C.git stash save
  4. 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 →