Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 1.52 KB

File metadata and controls

58 lines (43 loc) · 1.52 KB
title stage group info
glab mr note
Create
Code Review
To determine the technical writer assigned to the Stage/Group associated with this page, see <https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments>

Add a comment or note to a merge request, or resolve/unresolve discussions.

glab mr note [<id> | <branch>] [flags]

Aliases

comment

Examples

# 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

# Resolve a discussion by note ID
$ glab mr note 123 --resolve 3107030349

# Unresolve a discussion by note ID
$ glab mr note 123 --unresolve 3107030349

Options

  -m, --message string   Comment or note message.
      --resolve int      Resolve the discussion containing the specified note ID.
      --unique           Don't create a comment or note if it already exists.
      --unresolve int    Unresolve the discussion containing the specified note ID.

Options inherited from parent commands

  -h, --help              Show help for this command.
  -R, --repo OWNER/REPO   Select another repository. Can use either OWNER/REPO or `GROUP/NAMESPACE/REPO` format. Also accepts full URL or Git URL.