Git – Find the most recent common ancestor of two branches

Reading Time: 1 minute

Solution

$ git merge-base first-branch second-branch

 

We transform challenges into digital experiences

Get in touch to let us know what you’re looking for. Our policy includes 14 days risk-free!

Free project consultation