GIT-LOCAL-COMMITS(1)

✨ git-local-commits ✨

okay bestie, so this is a lil git-extras page β€” GIT-LOCAL-COMMITS(1) β€” and honestly? it's giving "who am I, what have I even committed" energy πŸ’…

Let me spill. πŸ’–


🌸 NAME 🌸

git-local-commits β€” list local commits, fr fr


πŸŽ€ SYNOPSIS πŸŽ€

git-local-commits <args>

πŸ¦‹ DESCRIPTION πŸ¦‹

So like. This one lists the commits sitting on your local branch that have not been pushed to the remote tracked branch. That's it, that's the whole vibe. Your secret little WIPs, your "I'll squash later" girlies, your wip x4 streak β€” all of it, on display. 😭

But heads up babes, there's a catch: it requires that HEAD points to a branch which is tracking another branch. No upstream tracking setup? No list. It literally cannot do the thing. Set your tracking branch first, queen. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • <args> β€” every single argument you hand to git-local-commits gets passed directly to git-log. No filtering, no meddling, no ✨curation✨. It's giving relay race. 🫢

πŸ”₯ EXAMPLES πŸ”₯

$ git local-commits --graph

yeah that's the whole example and it ate, actually. --graph goes straight to git-log and you get your pretty little trees. 🌈


πŸ‘‘ AUTHOR πŸ‘‘

Written by Michael Komitee <mkomitee@gmail.com> β€” we stan, ty for your service πŸ«‘πŸ’œ


πŸ“ REPORTING BUGS πŸ“

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

Found a bug? Don't suffer in silence bestie, take it to the issues. Not me being emotionally invested in your bug report. πŸ™ˆ


🌟 SEE ALSO 🌟

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


lowkey reminder: if it errors out, check that you're actually on a branch tracking another branch. That's like, the number one vibe check this tool does on you. 🧚✨

and that's the page, bestie!! πŸŽ€ written from the Git Extras source, May 2026 edition β€” GIT-LOCAL-COMMITS(1), periodt. go forth and see exactly how much unreleased chaos you've been hoarding πŸ’–πŸ’€β­

πŸ“¦ where this page comes from