GIT-SHOW-TREE(1)

πŸ’– GIT-SHOW-TREE(1) πŸ’–

okay bestie, so this is a page from the Git Extras manual β€” yes, that whole delightful little collection of bonus git commands β€” and today's main character is git-show-tree. pull up a chair, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

git-show-tree β€” show branch tree of commit history 🌳

like, it's the command that draws you the whole branch situation. the tree. the whole vibe. you're welcome.


πŸŽ€ SYNOPSIS πŸŽ€

git-show-tree

no args, no flags, no drama. she takes nothing and gives you everything. periodt. πŸ’…


🌸 DESCRIPTION 🌸

git-show-tree shows the decorated graph view of one-liner summarized commits from all branches.

let me translate that because it's kind of a mouthful ngl:

  • decorated β€” every commit gets its lil name tag attached: branches, tags, HEAD, remotes, the whole friend group 🫢
  • graph view β€” you get the actual tree drawing with all the |, \, / and * characters connecting everything so you can literally see who branched off who
  • one-liner summarized commits β€” every commit is squished down to a single tidy line, so it's giving clean, not giving essay
  • from all branches β€” all of them. not just the one you're standing on. the entire roster. πŸ‘‘

🌈 EXAMPLES 🌈

output the commit history log for all branches as tree view:

*   4b57684 (HEAD, develop) Merge branch upstream master.
|\
| *   515e94a Merge pull request #128 from nickl-/git-extras-html-hyperlinks
| |\
| | * 815db8b (nickl/git-extras-html-hyperlinks, git-extras-html-hyperlinks) help ronn make hyperlinks.
| * | 7398d10 (nickl/develop) Fix #127 git-ignore won't add duplicates.
| |/
| | * ab72c1e (refs/stash) WIP on develop: 5e943f5 Fix #127 git-ignore won't add duplicates.
| |/
|/|
* | 730ca89 (bolshakov) Rebase bolshakov with master
|/
* 60f8371 (origin/master, origin/HEAD, master) Merge pull request #126 from agrimaldi/fix-changelog-last-tag
* 9627780 (tag: 1.7.0) Release 1.7.0
* 2e53ff6 (tag: 1.6.0) Release 1.6.0
* bbd32d8 (tag: 1.5.1) Release 1.5.1
| * 6b6b758 (nickl/gh-pages, gh-pages) add example git-extras to gh-pages
| * 19cfd11 (origin/gh-pages) Index page
| | * 881a70e (tag: 1.5.0) Release 1.5.0
| |/
|/|
* | 4db5ee0 (tag: 1.4.0) Release 1.4.0
* | 9b0bc89 (tag: 1.3.0) Release 1.3.0
* | be49961 (tag: 1.2.0) Release 1.2.0
* | c1d2dfc (tag: 1.1.0) Release 1.1.0
* | 4a56adb (tag: 1.0.0) Release 1.0.0
* | 948308b (tag: 0.9.0) Release 0.9.0
* | 40b131d (tag: 0.8.1) Release 0.8.1
* | 391431d (tag: 0.8.0) Release 0.8.0

look at her 😭 the branches weaving in and out, the merge commits, the release tags stacked up like friendship bracelets... it's giving ✨art✨. screenshot it. frame it. send it to the group chat.


πŸ’œ AUTHOR πŸ’œ

Written by Nick Lombard github@jigsoft.co.za β€” we stan a legend, honestly. πŸ‘‘


πŸ¦‹ REPORTING BUGS πŸ¦‹

found a lil glitch? a gremlin? a certified not-it moment? take it here, bestie:

<https://github.com/tj/git-extras/issues>


πŸ”₯ SEE ALSO πŸ”₯

go snoop, there's a whole treasure chest of extra commands waiting for you iykyk.


okay that's the whole page!! πŸ’– from the Git Extras manual, GIT-SHOW-TREE(1), dated May 2026. scroll responsibly, commit often, and may your branches always merge cleanly. no cap. πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from