witkamp witkamp - 1 year ago 118
Git Question

Find common ancestor of two branches

How do I find the most recent common ancestor commit of two Git branches?

Answer Source

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