I tried git merge-base, but it only provides the most recent common ancestor of two branches rather than the oldest one. Could anyone help me?
Thanks!!
I tried git merge-base, but it only provides the most recent common ancestor of two branches rather than the oldest one. Could anyone help me?
Thanks!!
git merge-base --all.git rev-list --max-parents 0 on the result(s); these are the potential answers.--topo-order and choosing the last one output might suffice.)