Git · Senior · Question 42 of 76
What does git log --follow struggle with?
- 1It can't show commits older than one year
- ✓Correct answer: It follows one path and guesses renames heuristically
- 3It works only on files in the root directory
Explanation
Renames aren't stored, so Git infers them by similarity. Renaming and heavily editing in the same commit can break the chain; keep renames in separate commits.