Git · Middle · Question 24 of 75

What is the merge base of two branches?

Explanation

A three-way merge compares both tips against the merge base to see who changed what. git merge-base main feature prints it.

Further reading

Problem with a question

Git · Middle · question 24

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