git log --oneline --graph --all

Category: Git - Core

git log --oneline --graph --all

Visualize all branches as an ASCII graph

Shows all branches' commit history as an ASCII graph, making it easy to see where branches diverged and merged.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.