-
Notifications
You must be signed in to change notification settings - Fork 15
/
git-delete-merged-branches.1
59 lines (58 loc) · 2.35 KB
/
git-delete-merged-branches.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
.TH GIT-DELETE-MERGED-BRANCHES "1" "December 2024" "git-delete-merged-branches 7.4.2" "User Commands"
.SH NAME
git-delete-merged-branches \- Command-line tool to delete merged Git branches
.SH SYNOPSIS
.B git\-delete\-merged\-branches
[\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]
.SH DESCRIPTION
.PP
Command\-line tool to delete merged Git branches
.SS "modes:"
.TP
\fB\-\-configure\fR
configure
.B git\-delete\-merged\-branches
and exit (without processing any branches)
.TP
\fB\-\-help\fR, \fB\-h\fR
show this help message and exit
.TP
\fB\-\-version\fR
show program's version number and exit
.SS "rules:"
.TP
\fB\-\-branch\fR BRANCH, \fB\-b\fR BRANCH
require the given branch as a merge target (instead of what is configured for this repository); can be passed multiple times
.TP
\fB\-\-effort\fR LEVEL
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)
.SS "scope:"
.TP
\fB\-\-remote\fR REMOTE, \fB\-r\fR REMOTE
process the given remote (instead of the remotes that are configured for this repository); can be passed multiple times
.TP
\fB\-\-exclude\fR BRANCH, \fB\-x\fR BRANCH
exclude the given branch from deletion (in addition to the exclusion list that is configured for this repository); can be passed multiple times
.TP
\fB\-\-include\-regex\fR PATTERN
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")
.SS "flags:"
.TP
\fB\-\-debug\fR
enable debugging output
.TP
\fB\-\-dry\-run\fR, \fB\-n\fR
perform a trial run with no changes made
.TP
\fB\-\-verbose\fR, \fB\-v\fR
enable verbose output
.TP
\fB\-\-yes\fR, \fB\-y\fR
do not ask for confirmation, assume reply "yes"
.PP
.SH EPILOG
Software libre licensed under GPL v3 or later.
Brought to you by Sebastian Pipping <sebastian@pipping.org>.
.PP
Please report bugs at https://github.com/hartwork/git\-delete\-merged\-branches — thank you!