怎么看当前git分支是基于哪个分支创建的?

切换到要查询的分支下

使用命令:git reflog --date=local --all | grep 要查询的分支名称

原文地址:https://www.cnblogs.com/linliquan/p/13834182.html