Git · Senior · Question 42 of 76

What does git log --follow struggle with?

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.

Further reading

Problem with a question

Git · Senior · question 42

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