Reference

glab-mr-diff(1)

View changes in a merge request.

NAME

glab-mr-diff - View changes in a merge request.

SYNOPSIS

glab mr diff [ | ] [flags]

DESCRIPTION

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

For automated scripts or patch tools, use --raw for an unmodified Git patch.

OPTIONS

--color="auto"
Use color in diff output: always, never, auto.

--raw[=false]
Use raw diff format that can be piped to commands.

OPTIONS INHERITED FROM PARENT COMMANDS

-h, --help[=false]
Show help for this command.

-R, --repo=""
Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

EXAMPLE

glab mr diff 123
glab mr diff branch
# Get merge request from current branch
glab mr diff
glab mr diff 123 --color=never

SEE ALSO

glab-mr(1)

History