.nh .TH "glab" "1" "Sep 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-mr-merge - Merge or accept a merge request. .SH SYNOPSIS .PP \fBglab mr merge { | } [flags]\fP .SH DESCRIPTION .PP Merge or accept a merge request. .SH OPTIONS .PP \fB--auto-merge\fP[=true] Set auto-merge. .PP \fB-m\fP, \fB--message\fP="" Custom merge commit message. .PP \fB-r\fP, \fB--rebase\fP[=false] Rebase the commits onto the base branch. .PP \fB-d\fP, \fB--remove-source-branch\fP[=false] Remove source branch on merge. .PP \fB--sha\fP="" Merge commit SHA. .PP \fB-s\fP, \fB--squash\fP[=false] Squash commits on merge. .PP \fB--squash-message\fP="" Custom squash commit message. .PP \fB-y\fP, \fB--yes\fP[=false] Skip submission confirmation prompt. .SH OPTIONS INHERITED FROM PARENT COMMANDS .PP \fB--help\fP[=false] Show help for this command. .PP \fB-R\fP, \fB--repo\fP="" Select another repository. Can use either \fBOWNER/REPO\fR or \fBGROUP/NAMESPACE/REPO\fR format. Also accepts full URL or Git URL. .SH EXAMPLE .EX $ glab mr merge 235 $ glab mr accept 235 # Finds open merge request from current branch $ glab mr merge .EE .SH SEE ALSO .PP \fBglab-mr(1)\fP