Git · Junior · Question 33 of 75

What is the difference between git stash pop and git stash apply?

Explanation

If applying causes conflicts, pop keeps the stash anyway so nothing is lost. apply is handy when you want the same changes on several branches.

Further reading

Problem with a question

Git · Junior · question 33

Test yourself

Take the Git · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz