.nh .TH "GH-ISSUE-COMMENT" "1" "Mar 2024" "" "GitHub CLI manual" .SH NAME .PP gh-issue-comment - Add a comment to an issue .SH SYNOPSIS .PP \fBgh issue comment { | } [flags]\fR .SH DESCRIPTION .PP Add a comment to a GitHub issue. .PP Without the body text supplied through flags, the command will interactively prompt for the comment text. .SH OPTIONS .TP \fB-b\fR, \fB--body\fR \fB\fR The comment body text .TP \fB-F\fR, \fB--body-file\fR \fB\fR Read body text from file (use "-" to read from standard input) .TP \fB--edit-last\fR Edit the last comment of the same author .TP \fB-e\fR, \fB--editor\fR Skip prompts and open the text editor to write the body in .TP \fB-w\fR, \fB--web\fR Open the web browser to write the comment .SH OPTIONS INHERITED FROM PARENT COMMANDS .TP \fB-R\fR, \fB--repo\fR \fB<[HOST/]OWNER/REPO>\fR Select another repository using the [HOST/]OWNER/REPO format .SH EXAMPLE .EX $ gh issue comment 12 --body "Hi from GitHub CLI" .EE .SH SEE ALSO .PP \fBgh-issue(1)\fR