--- title: '`glab mr view`' stage: AI Clients group: Developer Clients info: To determine the technical writer assigned to the Stage/Group associated with this page, see --- Display the title, body, and other information about a merge request. ## Synopsis You can use a branch name or ID. Use `--web` to open in a browser. When output is redirected, the plain-text preview reports `conflicts: true` or `conflicts: false`. It reports `conflicts: unknown` while GitLab is still checking mergeability. In JSON output, check `detailed_merge_status` before relying on `has_conflicts`. ```plaintext glab mr view [] [flags] ``` ## Aliases ```plaintext show ``` ## Examples ```console glab mr view 123 glab mr view branch-name glab mr view 123 --comments glab mr view 123 --output json --jq '{detailed_merge_status, has_conflicts}' glab mr view 123 --web ``` ## Options ```plaintext -c, --comments Show merge request comments and activities. --jq string Filter JSON output with a jq expression. -F, --output string Format output as: text, json. (default "text") -p, --page int Page number. -P, --per-page int Number of items to list per page. (default 20) --resolved Show only resolved discussions (implies --comments). -s, --system-logs Show system activities and logs. --unresolved Show only unresolved discussions (implies --comments). -w, --web Open merge request in a browser. Uses default browser or browser specified in BROWSER variable. ``` ## Options inherited from parent commands ```plaintext -h, --help Show help for this command. -R, --repo string Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. ```