如何找到两个Git分支的最新共同祖先?
You are looking for git merge-base .
git merge-base
(您正在寻找git merge-base 。)
(用法:)
$ git merge-base branch2 branch3 050dc022f3a65bdc78d97e2b1ac9b595a924c3f2
1.4m articles
1.4m replys
5 comments
57.0k users