glab(1)

πŸ’– NAME β€” glab-mr-view from the glab(1) manual πŸ’–

glab-mr-view is the one that shows the title, body, and all the other info about a merge request. That’s the whole main character energy of this page, bestie 🫢.


🌸 SYNOPSIS 🌸

Here’s the shape, exactly as the manual gives it:

glab mr view [] [flags]

No cap, that’s the synopsis. Slay.


πŸ¦‹ DESCRIPTION πŸ¦‹

You can use a branch name or ID. Use --web to open it in a browser. Literally that simple β€” branch name or ID, and --web is your browser shortcut πŸ’….


✨ OPTIONS ✨

okay bestie, flag buffet time:

  • -c, --comments[=false] β€” show merge request comments and activities. Default is false.
  • --jq="" β€” filter JSON output with a jq expression. Default is "".
  • -F, --output="text" β€” format output as: text, json. Default is "text".
  • -p, --page=0 β€” page number. Default is 0.
  • -P, --per-page=20 β€” number of items to list per page. Default is 20.
  • --resolved[=false] β€” show only resolved discussions (implies --comments). Default is false.
  • -s, --system-logs[=false] β€” show system activities and logs. Default is false.
  • --unresolved[=false] β€” show only unresolved discussions (implies --comments). Default is false.
  • -w, --web[=false] β€” open merge request in a browser. Uses default browser or browser specified in BROWSER variable. Default is false.
vibe check: --resolved and --unresolved both lowkey drag --comments in with them, iykyk 🌈.

🌟 OPTIONS INHERITED FROM PARENT COMMANDS 🌟

These come from the parent command, bestie:

  • -h, --help[=false] β€” show help for this command. Default is false.
  • -R, --repo="" β€” select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. Default is "".

πŸŽ€ EXAMPLE πŸŽ€

Run it like this, fr fr:

glab mr view 123
glab mr view branch-name
glab mr view 123 --comments
glab mr view 123 --web

Iconic behavior, honestly πŸ’–.


πŸ”₯ SEE ALSO πŸ”₯

  • glab-mr(1) β€” the parent command’s manual page. Go peek, bestie πŸ’….

πŸ’Œ Source/version/date sign-off: auto generated by spf13/cobra, dated Nov 2026, for the glab(1) manual. Byeee, bestie πŸ’‹

πŸ“¦ where this page comes from