Git · Middle · Question 55 of 75

What does git diff --stat show?

Explanation

It's a quick overview of a change's scope before you read the full diff. --shortstat prints just the totals.

Further reading

Problem with a question

Git · Middle · question 55

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