Git · Middle · Question 33 of 75

What does git fetch --prune do?

Explanation

Without pruning, origin/old-feature stays in git branch -a forever. Set fetch.prune = true to make it the default.

Further reading

Problem with a question

Git · Middle · question 33

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