Skip to main content

rt mr open

rt › mr › open

Open a bare MR on the current branch via glab

Usage

rt mr open [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
--targettextTarget branch for the MR (defaults to config or repo default)
--titletextMR title (defaults to the last commit subject)
--draftbooleanfalseOpen as a draft MR
--no-draftbooleanfalseForce non-draft even if config defaults to draft
--descriptiontextInline description body
--description-filetextRead description from a file (- for stdin)
--fillbooleanfalseLet glab fill the description from commits
--dry-runbooleanfalsePreview the glab command without creating the MR
--webbooleanfalseOpen the new MR in the browser

See code: commands/mr.ts › openCommand