| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man. |
| 2 |
.TH GIT-DMB "1" "July 2026" "git-dmb 7.6.1" "User Commands" |
| 3 |
.SH NAME |
| 4 |
git-dmb \- Command-line tool to delete merged Git branches |
| 5 |
.SH SYNOPSIS |
| 6 |
|
| 7 |
.B git\-dmb |
| 8 |
[\fB\-\-configure\fR | \fB\-\-help\fR | \fB\-\-version\fR\] [\fB\-\-branch\fR BRANCH] [\fB\-\-effort\fR LEVEL] [\fB\-\-remote\fR REMOTE] [\fB\-\-exclude\fR BRANCH] [\fB\-\-include\-regex\fR PATTERN] [\fB\-\-debug\fR] [\fB\-\-dry\-run\fR] [\fB\-\-verbose\fR] [\fB\-\-yes\fR] |
| 9 |
.SH DESCRIPTION |
| 10 |
.PP |
| 11 |
Command\-line tool to delete merged Git branches |
| 12 |
.SS "modes:" |
| 13 |
.TP |
| 14 |
\fB\-\-configure\fR |
| 15 |
configure |
| 16 |
.B git\-delete\-merged\-branches |
| 17 |
and exit (without processing any branches) |
| 18 |
.TP |
| 19 |
\fB\-\-help\fR, \fB\-h\fR |
| 20 |
show this help message and exit |
| 21 |
.TP |
| 22 |
\fB\-\-version\fR |
| 23 |
show program's version number and exit |
| 24 |
.SS "rules:" |
| 25 |
.TP |
| 26 |
\fB\-\-branch\fR, \fB\-b\fR BRANCH |
| 27 |
require the given branch as a merge target (instead of what is configured for this repository); can be passed multiple times |
| 28 |
.TP |
| 29 |
\fB\-\-effort\fR LEVEL |
| 30 |
level of effort to put into finding merged branches; level 1 uses nothing but "git branch \-\-merged", level 2 adds use of "git cherry", level 3 adds use of "git cherry" on temporary squashed copies (default level: 2) |
| 31 |
.SS "scope:" |
| 32 |
.TP |
| 33 |
\fB\-\-remote\fR, \fB\-r\fR REMOTE |
| 34 |
process the given remote (instead of the remotes that are configured for this repository); can be passed multiple times |
| 35 |
.TP |
| 36 |
\fB\-\-exclude\fR, \fB\-x\fR BRANCH |
| 37 |
exclude the given branch from deletion (in addition to the exclusion list that is configured for this repository); can be passed multiple times |
| 38 |
.TP |
| 39 |
\fB\-\-include\-regex\fR PATTERN |
| 40 |
only consider branches for deletion that match the given regular expression (e.g. "^issue\-"); syntax is that of Python module "re"; can be passed multiple times, then acts in logical conjunction ("and") |
| 41 |
.SS "flags:" |
| 42 |
.TP |
| 43 |
\fB\-\-debug\fR |
| 44 |
enable debugging output |
| 45 |
.TP |
| 46 |
\fB\-\-dry\-run\fR, \fB\-n\fR |
| 47 |
perform a trial run with no changes made |
| 48 |
.TP |
| 49 |
\fB\-\-verbose\fR, \fB\-v\fR |
| 50 |
enable verbose output |
| 51 |
.TP |
| 52 |
\fB\-\-yes\fR, \fB\-y\fR |
| 53 |
do not ask for confirmation, assume reply "yes" |
| 54 |
.PP |
| 55 |
.SH EPILOG |
| 56 |
Software libre licensed under GPL v3 or later. |
| 57 |
Brought to you by Sebastian Pipping <[email protected]>. |
| 58 |
.PP |
| 59 |
Please report bugs at https://github.com/hartwork/git\-delete\-merged\-branches — thank you! |