Git · Middle · Question 24 of 75
What is the merge base of two branches?
- 1The first commit of the repository
- 2The newer of the two branch tips
- ✓Correct answer: Their best common ancestor commit
Explanation
A three-way merge compares both tips against the merge base to see who changed what. git merge-base main feature prints it.