Git log with expanded PR commits. For repositories using squash merges, this shows the original PR commits indented under each squash-merged commit on main.
- Shows main branch commits with their associated PR commits expanded below
- Works with squash merges (
(#123)format) and merge commits (Merge pull request #123) - Optionally falls back to the GitHub API (
/commits/{sha}/pulls) to find the PR when the subject lacks a#NNNmarker (e.g., rebase merges) — enable with--api-fallback - Recursively expands sub-PRs (a PR merged into another PR's branch) up to
--max-depthlevels (default 2)