glab(1) glab(1)

glab-mr-checkout - Checkout to an open merge request

glab mr checkout [ | ] [flags]

Checkout to an open merge request

-b, --branch="" checkout merge request with name

-u, --set-upstream-to="" set tracking of checked out branch to [REMOTE/]BRANCH

-t, --track[=false] set checked out branch to track remote branch, adds remote if needed

--help[=false] Show help for command

-R, --repo="" Select another repository using the OWNER/REPO or GROUP/NAMESPACE/REPO format or full URL or git URL

glab mr checkout 1
glab mr checkout branch --track
glab mr checkout 12 --branch todo-fix
glab mr checkout new-feature --set-upstream-to=upstream/main
glab mr checkout   # use checked out branch


Mar 2023 Auto generated by spf13/cobra