GIT-DMB(1)
π NAME
git-dmb β the command-line tool that deletes your merged Git branches, bestie. Say bye to the graveyard of dead branches fr fr. π§Ήβ¨
πΈ SYNOPSIS
git-dmb [--configure | --help | --version] [--branch BRANCH] [--effort
LEVEL] [--remote REMOTE] [--exclude BRANCH] [--include-regex PATTERN]
[--debug] [--dry-run] [--verbose] [--yes]
π¦ DESCRIPTION
It's a command-line tool. It deletes merged Git branches. That's the whole vibe. No cap. π
β¨ modes: (pick your main character moment)
--configureβ set upgit-delete-merged-branchesand then dip, no branch processing at all, we're just doing the config and leaving π--help,-hβ show this help message and exit, iconic behavior--versionβ show the program's version number and exit π
π rules: (how it decides what's on the chopping block)
--branch,-bBRANCH β demand that this branch be the merge target, instead of whatever's already configured for this repo. You can pass it as many times as you want, go off π--effortLEVEL β how much energy we're putting into hunting down merged branches. Level 1 uses literally nothing butgit branch --merged. Level 2 adds use ofgit cherry. Level 3 adds use ofgit cherryon temporary squashed copies. The default level is 2, so medium effort, medium slay. π₯
π scope: (where we're looking)
--remote,-rREMOTE β process this remote instead of the remotes configured for the repo; you can pass it multiple times, pile 'em up π«Ά--exclude,-xBRANCH β keep this branch safe from deletion, in addition to the exclusion list configured for the repo; also passable multiple times, protection squad activated π--include-regexPATTERN β only branches matching this regular expression are even considered for deletion (like, e.g."^issue-"). The syntax is that of the Python modulere. Pass it multiple times and it acts in logical conjunction, aka"and"β every pattern has to match β
π flags: (the toggles)
--debugβ turn on debugging output, for when you need to see everything π--dry-run,-nβ do a trial run with absolutely no changes made, the responsible queen move--verbose,-vβ enable verbose output, more words, more info--yes,-yβ do not ask for confirmation, just assume the reply is"yes"and go π
π§ EPILOG
Software libre, licensed under GPL v3 or later. Brought to you by Sebastian Pipping <sebastian@pipping.org>. π«Ά
Please report bugs at https://github.com/hartwork/git-delete-merged-branches β thank you!! π
And that's the whole page, periodt. git-dmb 7.6.1, July 2026, GIT-DMB(1) β mwah, go delete some branches bestie π β¨
π¦ where this page comes from
- ubuntu stonking: git-delete-merged-branches 7.6.1-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms