---
title: glab mr diff
stage: Create
group: Code Review
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
---

<!--
This documentation is auto generated by a script.
Please do not edit this file directly. Run `make gen-docs` instead.
-->

View changes in a merge request.

```plaintext
glab mr diff [<id> | <branch>] [flags]
```

## Examples

```console
$ glab mr diff 123
$ glab mr diff branch

# Get merge request from current branch
$ glab mr diff

$ glab mr diff 123 --color=never

```

## Options

```plaintext
      --color string   Use color in diff output: always, never, auto. (default "auto")
      --raw            Use raw diff format that can be piped to commands
```

## Options inherited from parent commands

```plaintext
  -h, --help              Show help for this command.
  -R, --repo OWNER/REPO   Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
```
