Git · Senior · Question 43 of 76
Why might git blame show the wrong author after a file was split into two?
- 1Blame always shows who last renamed the file
- 2Split files lose their history permanently
- ✓Correct answer: Moved lines look new unless
-Cdetects copies
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.