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

切换到要查询的分支下

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