git-mr
Check out GitLab merge requests
TLDR
Check out merge request
$ git mr [123]
Check out from origin$ git mr origin [123]
Clean up merge request$ git mr --clean [123]
SYNOPSIS
git mr [remote] number
DESCRIPTION
git mr checks out GitLab merge requests locally for testing or review. It fetches the merge request reference and creates a local branch automatically, simplifying the code review workflow.
The command handles ref fetching and branch creation in a single step. For GitHub repositories, the equivalent command is `git pr`.
PARAMETERS
REMOTE
Remote name (default: origin).NUMBER
Merge request number.--clean
Delete local MR branch.--help
Display help information.
CAVEATS
Part of git-extras package. GitLab-specific functionality. GitHub equivalent is git pr.
HISTORY
git mr is part of git-extras, providing GitLab merge request checkout similar to git pr for GitHub pull requests.
SEE ALSO
git-pr(1), git-checkout(1)
