Git · Middle · Question 37 of 75

What does git stash -u add compared with plain git stash?

Explanation

Plain stash leaves new files in place, which can be surprising when you switch branches. -a also includes ignored files.

Further reading

Problem with a question

Git · Middle · question 37

Test yourself

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

Take this quiz