glab(1) glab(1) NAME glab-mr-note-update - Update the body of a note on a merge request. (EXPER- IMENTAL) SYNOPSIS glab mr note update [ | ] [flags] DESCRIPTION Replace the body of an existing note on a merge request. <note-id> is a numeric note ID, not a hex discussion ID. You can find note IDs with: * glab mr note list -F json (the .id field) * Note URLs: .../merge_requests/1#note_12345 You can change only the note body. You cannot move the position of diff notes. --attach uploads a file and references it at the end of the note. Repeat the flag for more than one file, or pass - to read the file from standard input. Without --message, standard input that is not a terminal is read as the new body. It replaces the existing body, unless --attach - reads the file from standard input. With neither --message nor piped input, the ref- erences are added to the body the note already has, instead of replacing it. The command waits until standard input closes, so to keep the existing body from a script, redirect standard input from /dev/null. This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/. OPTIONS --attach=[] (EXPERIMENTAL) Upload a file and reference it at the end of the note. Use "-" to read the file from standard input. Repeat the flag to attach multiple files. -m, --message="" New note body. If omitted, opens an editor or reads from stdin. OPTIONS INHERITED FROM PARENT COMMANDS -h, --help[=false] Show help for this command. -R, --repo="" Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. EXAMPLE # Update note 12345 on merge request 1 with a new message glab mr note update 1 12345 -m "Updated comment" # Update a note on the current branch's merge request, composing in an editor glab mr note update 12345 # Pipe the new body from stdin echo "new body" | glab mr note update 1 12345 # Add a screenshot to the existing note body glab mr note update 1 12345 --attach ./screenshot.png SEE ALSO glab-mr-note(1) Auto generated by spf13/cobra Nov 2026 glab(1)
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | OPTIONS INHERITED FROM PARENT COMMANDS | EXAMPLE | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=glab-mr-note-update&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>