How to find the mos开发者_高级运维t recent common ancestor of two Git branches?You are looking for git merge-base. Usage:
I have the branch master which tracks the remote branch origin/master. I want to rename them to master-old both locally and on the remote. Is this possible?