Git · Middle · Question 36 of 75

What does .git-blame-ignore-revs help with?

Explanation

After running Prettier on the whole codebase, every line blames that commit. Listing it in the file (with blame.ignoreRevsFile) makes blame skip to the real authors; GitHub respects it too.

Further reading

Problem with a question

Git · Middle · question 36

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