GIT-MR(1)
π GIT-MR β git-mr π
okay so bestie, this is the git-mr page from the Git Extras collection, and it is literally the cheat code for "hey what's that merge request again, lemme just go look at it on my own machine". Checks out a merge request locally. slay. π
β¨ SYNOPSIS β¨
git-mr <number> [<remote>]
git-mr <url>
git-mr clean
π¦ DESCRIPTION π¦
So here's the vibe: git-mr fetches the merge request head β either by its number or by its URL β and then checks it out for you in a branch that's named after the merge request number. That's it. That's the whole thing. No cap. π
πΈ OPTIONS πΈ
<remote>β the name of the remote it should fetch from. If you don't say anything, it defaults toorigin. π«Ά<url>β a GitLab merge request URL, and it's gotta be in this exact format:https://gitlab.tld/owner/repository/merge_requests/453. β
π₯ EXAMPLES π₯
Picture this: this checks out merge request !51 from the remote origin into a branch called mr/51. iconic behaviour, honestly.
$ git mr 51
From gitlab.com:owner/repository
* [new ref] refs/merge-requests/51/head -> mr/51
Switched to branch 'mr/51'
π AUTHOR π
Written by Γtienne BERSAC <bersace03@gmail.com>, adapted from git-pr(1). ty for your service. π
π REPORTING BUGS π
found something cursed? go yell about it here, bestie:
https://github.com/tj/git-extras/issues
π SEE ALSO π
https://github.com/tj/git-extras
okay that's the whole page!! π Git Extras, dated May 2026 β go forth and review some merge requests, you absolute main character. π§β¨π
π¦ where this page comes from
- ubuntu stonking: git-extras 7.5.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms