witkamp witkamp - 4 months ago 51
Git Question

Find common ancestor of two branches

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

Answer

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