Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab
Checkout an open merge request
Checkout an open merge request using the MR’s source branch name as local branch name; this behavior can be changed using –branch option.
lab mr checkout [remote] [<MR id or branch>] [flags]
lab mr checkout origin 10
lab mr checkout upstream -b a_branch_name
lab mr checkout a_remote -f
lab mr checkout upstream --https
lab mr checkout upstream -t
-b, --branch string checkout merge request with <branch> name
-f, --force force branch and remote reference override
-h, --help help for checkout
--http checkout using HTTP protocol instead of SSH
-t, --track set branch to track remote branch, adds remote if needed
--debug Enable debug logging level
--no-pager Do not pipe output into a pager
--quiet Turn off any sort of logging. Only command output is printed