witkamp witkamp - 6 months ago 81
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.