1. 如何查看当前分支是从哪个分支创建来的?
git reflog --date=local 当前分支名称
2. 查看当前分支
git branch
3.切换到某个分支
git checkout 分支名称
git 常用操作汇总
原文:https://www.cnblogs.com/similar/p/11428126.html