Git · Junior · Question 32 of 75

What does git stash do?

Explanation

Use it to switch tasks quickly; git stash pop reapplies the changes. By default untracked files aren't stashed; add -u for them.

Further reading

Problem with a question

Git · Junior · question 32

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