glab(1)
π
glab(1) manual β glab-mr-note-update edition π
πΈ NAME πΈ
glab-mr-note-update β update the body of a note on a merge request. (EXPERIMENTAL) π§ͺβ¨
π¦ SYNOPSIS π¦
glab mr note update [ | ] [flags]
π DESCRIPTION π
Okay so this command replaces the body of an existing note on a merge request. Thatβs the whole gig, bestie. π
<note-id> is a numeric note ID, not a hex discussion ID. You can find note IDs with:
glab mr note list -F jsonβ look at the.idfield π- Note URLs:
.../merge_requests/1#note_12345
You can change only the note body. You cannot move the position of diff notes. No repositioning, periodt. π«
--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, the references are added to the body the note already has, instead of replacing it. Very important, donβt skip that part. π«Ά
β οΈ 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/. Bestie, itβs giving experimental for a reason. π
β¨ 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 eitherOWNER/REPOorGROUP/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)β go read that one too, iykyk π
π this cutie was auto-generated by spf13/cobra, dated Nov 2026, and belongs to the glab(1) manual β bye bestie, slay responsibly π
π
π¦ where this page comes from
- arch rolling: glab 1.128.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms