ILD

git 查看两个分支的最近的共同祖先
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2021-12-5 站点:Inside Linux Development

使用git mrege-base命令可以查看,两个分支的最近的共同祖先:

$ git merge-base master origin/openwrt-21.02

46b6ee7ffc457af8aad1a0f7e5936f50041141d8


参考

https://stackoverflow.com/questions/1549146/git-find-the-most-recent-common-ancestor-of-two-branches


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.