Skip to content

mw gitlab mr note

Releasev0.35.0 · cfeceb67

mw gitlab mr note [<id> | <branch>] [flags]

Add a comment or note to a merge request.

-m, --message <string>
Comment or note message.
--unique
Don't create a comment or note if it already exists.
-h, --help
Show help for this command.
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved account profile (login defaults to the verified username)
-R, --repo <OWNER/REPO>
Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
# Add a comment to merge request with ID 123
$ glab mr note 123 -m "Looks good to me!"
# Add a comment to the merge request for the current branch
$ glab mr note -m "LGTM"
# Open your editor to compose a multi-line comment
$ glab mr note 123
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.