git-show-tree

Display a decorated graph of commits across all branches

TLDR

Show branch tree
$ git show-tree

SYNOPSIS

git show-tree

DESCRIPTION

git show-tree is a git-extras shortcut for `git log --all --graph --decorate --oneline --simplify-by-decoration`. It draws an ASCII commit graph across every branch, showing only the commits that are branch/tag tips or merge points, which makes overall repository topology easy to see at a glance.

INSTALL

sudo apt install git
sudo dnf install git
sudo pacman -S git
sudo apk add git
sudo zypper install git
brew install git
nix profile install nixpkgs#git

CAVEATS

Part of git-extras package. Only shows commits relevant to the graph shape (tips, merges, tags); use `git log --graph` directly if you need every commit.

SEE ALSO

git-log(1), git-branch(1), git-extras(1)

RESOURCES

Source code · Documentation