Git · Senior · Question 16 of 76

Why does git status get slow in very large repositories, and what helps?

Explanation

Status compares the working tree with the index by checking file metadata. A filesystem monitor reports only changed files, and sparse checkout with a sparse index shrinks what's scanned.

Further reading

Problem with a question

Git · Senior · question 16

Test yourself

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

Take this quiz