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 🌸


πŸ”₯ 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