Git 查看当前分支基于哪个分支创建的

268 阅读1分钟

例如当前分支名:
current-branch-name

git reflog show current-branch-name

查看所有分支合并历史

git log --graph --decorate --oneline --all

查看指定分支合并历史

git log --graph --decorate --oneline origin/branch-name