glab(1)
π
glab-incident-note β aka the glab(1) manual, incident-comment edition π
Hey bestie, welcome to the glow-up of the glab manual page. This particular slice of it is all about glab-incident-note, and yes it's exactly as iconic as it sounds: you're dropping a comment on an incident in GitLab, and doing it with style. π¦
β¨ NAME β¨
glab-incident-note β comment on an incident in GitLab. Periodt. π
πΈ SYNOPSIS πΈ
glab incident note [flags]
π§ DESCRIPTION π§
Okay so here's the vibe check. If you don't pass --message, it opens up an editor for you at a terminal β very "write your feelings in a text box" energy π. Otherwise (like when your input is piped or redirected), it just reads the comment from standard input. No editor, no drama.
Now, --attach uploads a file and references it at the end of the comment β like a little hyperlink garnish on your note. π Repeat the flag if you've got more than one file, or pass - to read the file from standard input. And listen: an attachment is content on its own, so a comment that has only --attach neither prompts nor reads a body from standard input. It justβ¦ is. Main character attachment energy. π
β οΈ Heads up bestie: the --attach flag is an experiment. It might be unstable, or get removed at any time, and it is not ready for production use. Fr fr, do not build your whole workflow on it. More info lives at https://docs.gitlab.com/policy/development_stages_support/ β go read it, iykyk. π
β OPTIONS β
--attach=[]β (EXPERIMENTAL) upload a file and reference it at the end of the comment. Use-to read the file from standard input. Repeat the flag to attach multiple files. π--internal[=false]β create the note as an internal note, visible only to project members. Secret lil note, just for the group chat. π-m,--message=""β the message text. Your words, your moment. β¨
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. When in doubt, ask the manpage. π«Ά-R,--repo=""β select another repository. You can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted. So many options, all slay. π
π₯ EXAMPLE π₯
# Comment on incident 123, opening an editor for the message
glab incident note 123
# Comment with the message given inline
glab incident note 123 --message "Looking into this now."
# Create an internal note, visible only to project members
glab incident note 123 --message "Rotating the leaked token now." --internal
# Attach a screenshot alongside the message
glab incident note 123 --message "Here is the repro." --attach ./screenshot.png
# Attach an image piped from the clipboard
pngpaste - | glab incident note 123 --attach -
# Comment with the message read from a file
glab incident note 123 < comment.md
Look at those examples. Ate, honestly. π
π SEE ALSO π
glab-incident(1) β the parent command, the origin story, the blueprint. Go say hi. πΈ
And that's a wrap, bestie! This lil page was auto generated by spf13/cobra, dated Nov 2026, and it belongs to the glab(1) manual fam. Now go comment on that incident like the Unix icon you are. ππβ¨
π¦ 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