Git · Middle · Question 40 of 75

Why can a rebase with many commits be more painful than a merge?

Explanation

Merge resolves differences once at the end; rebase replays commits one by one. Squashing the branch first or enabling rerere reduces the pain.

Further reading

Problem with a question

Git · Middle · question 40

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