glab(1)
π
glab(1) β the glab-issue-note page, bestie edition π
okay so you opened the manual for glab-issue-note, which is the glab subcommand that lets you comment on an issue in GitLab. she's a little icon, she's a little legend, and honestly she's about to be your new fave. let's get into it β¨
πΈ NAME πΈ
glab-issue-note β literally just: comment on an issue in GitLab. that's the whole gig fr fr π
π¦ SYNOPSIS π¦
glab issue note [flags]
(yes there's a double space in there, no I will not be fixing it, it's part of the lore π)
β¨ DESCRIPTION β¨
okay so here's the vibe check π
If you don't pass --message, glab opens up an editor β but only at a terminal. Otherwise (like when input is piped in or redirected), it just reads the comment straight from standard input. so like, both paths are valid, it just depends on how you're feeding her π«Ά
--attach uploads a file and then references it at the end of the comment. want more than one file? repeat the flag, bestie, go off π
. or pass - to read the file from standard input. and here's the little detail that matters: an attachment is content on its own, so a comment with only --attach neither prompts nor reads a body from standard input. it just... attaches. no body, no editor, no stdin, periodt β
β οΈ experiment alert, no cap: the--attachflag is an experiment. it might be unstable, it might get removed at any time, and it is not ready for production use. you've been warned, bestie π for more info, seehttps://docs.gitlab.com/policy/development_stages_support/.
π 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. multiple files!! she's versatile π--internal[=false]β create the note as an internal note, visible only to project members. secret girl business π€«-m,--message=""β the message text. your actual words, iconic π
π OPTIONS INHERITED FROM PARENT COMMANDS π
-h,--help[=false]β show help for this command. when in doubt, ask for help, it's giving self-care π§-R,--repo=""β select another repository. you can use eitherOWNER/REPOorGROUP/NAMESPACE/REPO. the full URL or Git URL is also accepted. flexible queen π
π₯ EXAMPLE π₯
# Comment on issue 123, opening an editor for the message
glab issue note 123
# Comment with the message given inline
glab issue note 123 --message "Looking into this now."
# Create an internal note, visible only to project members
glab issue note 123 --message "Rotating the leaked token now." --internal
# Attach a screenshot alongside the message
glab issue note 123 --message "Here is the repro." --attach ./screenshot.png
# Attach an image piped from the clipboard
pngpaste - | glab issue note 123 --attach -
# Comment with the message read from a file
glab issue note 123 < comment.md
look at all those options, she ate and left no crumbs π
π SEE ALSO π
glab-issue(1)β the parent command, go say hi to her too π«Ά
okay that's the whole page, you're basically a glab issue note expert now π one last thing for the receipts: this page is auto generated by spf13/cobra, version date Nov 2026, and it lives under the manual name glab(1). mwah, go comment on some issues, main character ππ
β¨
π¦ 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