glab-mr-create

Manage GitLab merge requests from the command-line.

TLDR

Interactively create a merge request

$ glab mr create
copy

Create a merge request, determining the title and description from the commit messages of the current branch

$ glab mr create --fill
copy

Create a draft merge request

$ glab mr create --draft
copy

Create a merge request specifying the target branch, title, and description

$ glab mr create --target-branch [target_branch] --title "[title]" --description "[description]"
copy

Start opening a merge request in the default web browser

$ glab mr create --web
copy

Copied to clipboard
linuxmousepad