glab mr checkout 42

Category: GitLab

glab mr checkout 42

Check out a merge request locally

Creates a local branch from merge request 42 and switches to it so you can test the changes. Add -b to name the branch yourself or -u to set upstream tracking. This is the standard way to review someone else's code on your machine.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.