Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.14 KB

File metadata and controls

48 lines (35 loc) · 1.14 KB
title `glab mr diff`
stage AI Coding
group Code Review
info To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>

View changes in a merge request.

Synopsis

Defaults to the currently checked-out branch. Use --color=never to disable color output.

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

Examples

glab mr diff 123
glab mr diff branch

# Get merge request from current branch
glab mr diff

glab mr diff 123 --color=never

Options

      --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

  -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.