Git · Senior · Question 43 of 76

Why might git blame show the wrong author after a file was split into two?

Explanation

-M detects moves within a file and -C (repeatable) detects code copied from other files in the same or earlier commits, so the original author is found.

Further reading

Problem with a question

Git · Senior · question 43

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