witkamp witkamp - 3 months ago 28
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.