mr
MR Git Merge Request
Core Model
Use this skill to operate the mr CLI safely. For implementation work, treat JUNERDD/mr as the upstream TypeScript project behind the CLI. The CLI prepares a merge-request or pull-request source for the current branch and a target branch by either:
- Creating or updating
mr/<target>/<current>, pushing that branch, and then running the configured request command/provider when available. - Using
--prto push the current branch directly as the request source.
If no request command/provider is available, the CLI still pushes the source branch and tells the user to create the request manually in the Git platform.
Detached mode is the built-in default. It keeps the main worktree on the current branch and usually does not require a clean tracked working tree. Traditional inline branch-switching mode is opt-in with --no-detached, MR_DETACHED=false, or git config mr.detached false.
Read references/mr-cli-reference.md when the user asks beyond a simple command lookup, including provider setup, detached mode, conflict resume, install/update behavior, or implementation changes.
Command Map
Targets: