witkamp witkamp - 1 year ago 146
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download