.nh .TH "glab" "1" "Sep 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP glab-mr-checkout - Check out an open merge request. .SH SYNOPSIS .PP \fBglab mr checkout [ | ] [flags]\fP .SH DESCRIPTION .PP Check out an open merge request. .SH OPTIONS .PP \fB-b\fP, \fB--branch\fP="" Check out merge request with name \&. .PP \fB-u\fP, \fB--set-upstream-to\fP="" Set tracking of checked-out branch to [REMOTE/]BRANCH. .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 checkout 1 $ glab mr checkout branch $ glab mr checkout 12 --branch todo-fix $ glab mr checkout new-feature --set-upstream-to=upstream/main # Uses the checked-out branch $ glab mr checkout .EE .SH SEE ALSO .PP \fBglab-mr(1)\fP