tags:

views:

542

answers:

2

I would like to find the last common ancestor commit of two different branches.

Is there an easy way to do this in git 1.6 ?

+10  A: 

I think that you are looking for git merge-base.

Charles Bailey
+7  A: 

use git merge-base A B

knittl