forked from APACGAMONDE/Gift-Card-Trade-in
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgh-pr-merge.1
69 lines (49 loc) · 1.2 KB
/
gh-pr-merge.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
60
61
62
63
64
65
66
67
68
69
.nh
.TH "gh" "1" "Jun 2021" "" ""
.SH NAME
.PP
gh\-pr\-merge \- Merge a pull request
.SH SYNOPSIS
.PP
\fBgh pr merge [ | | ] [flags]\fP
.SH DESCRIPTION
.PP
Merge a pull request on GitHub.
.PP
Without an argument, the pull request that belongs to the current branch
is selected.
.SH OPTIONS
.PP
\fB\-\-auto\fP[=false]
Automatically merge only after necessary requirements are met
.PP
\fB\-b\fP, \fB\-\-body\fP=""
Body \fB\fCtext\fR for the merge commit
.PP
\fB\-F\fP, \fB\-\-body\-file\fP=""
Read body text from \fB\fCfile\fR
.PP
\fB\-d\fP, \fB\-\-delete\-branch\fP[=false]
Delete the local and remote branch after merge
.PP
\fB\-\-disable\-auto\fP[=false]
Disable auto\-merge for this pull request
.PP
\fB\-m\fP, \fB\-\-merge\fP[=false]
Merge the commits with the base branch
.PP
\fB\-r\fP, \fB\-\-rebase\fP[=false]
Rebase the commits onto the base branch
.PP
\fB\-s\fP, \fB\-\-squash\fP[=false]
Squash the commits into one commit and merge it into the base branch
.SH OPTIONS INHERITED FROM PARENT COMMANDS
.PP
\fB\-\-help\fP[=false]
Show help for command
.PP
\fB\-R\fP, \fB\-\-repo\fP=""
Select another repository using the \fB\fC[HOST/]OWNER/REPO\fR format
.SH SEE ALSO
.PP
\fBgh\-pr(1)\fP