git show-branch
Show branches and their commits. More information: https://git-scm.com/docs/git-show-branch.
- Show a summary of the latest commit on a branch:
git show-branch
- Compare commits in the history of multiple commits or branches:
git show-branch
- Compare all remote tracking branches:
git show-branch
- Compare both local and remote tracking branches:
git show-branch
- List the latest commits in all branches:
git show-branch --list
- Compare a given branch with the current branch:
git show-branch --current
- Display the commit name instead of the relative name:
git show-branch --sha1-name --current
- Keep going a given number of commits past the common ancestor:
git show-branch --more
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
