glab-mr
glab mr
Create, view, and manage GitLab merge requests.
Resolve or reopen in another repository
With --repo, mr note resolve and mr note reopen require an explicit MR before the discussion identifier:
glab mr note resolve 123 abc12345 --repo group/project
glab mr note reopen 123 abc12345 --repo group/project
The discussion may be a full ID, a unique prefix of at least eight characters, or a numeric note ID. Without --repo, omitting the MR uses the current branch. The binary's usage line lists the operands inconsistently; follow its examples and the implementation: MR first, discussion second. Confirm the target before changing discussion state.
Checkout, creation, and selection
glab mr checkout 123 --worktree ../review-mr-123 fetches and checks out the MR in a separate worktree. Reusing that path updates the existing worktree. A branch can be checked out in only one worktree; choose --branch for a different local name when needed. Review divergence/reset prompts carefully: worktree isolation does not authorize discarding commits or local changes. Fetching through a matched remote creates the tracking ref.