GH-DISCUSSION-COMMENT(1) GitHub CLI manual GH-DISCUSSION-COMMENT(1) (NAME) gh-discussion-comment - (SYNOPSIS) gh discussion comment { | | | } [flags] (DESCRIPTION) . (URL) ( ) (node ID) ( ) . . . --edit / --delete . --body --body-file . (OPTIONS) -b, --body -F, --body-file ( "-" ) --delete --edit -R, --repo <[HOST/]OWNER/REPO> [HOST/]OWNER/REPO --yes (EXIT CODES) 0: 1: 2: 4: : . . (EXAMPLES) # $ gh discussion comment 123 --body 'Thanks' # $ gh discussion comment 'https://github.com/OWNER/REPO/discussions/123#discussioncomment-456' --body 'Thanks' # (node ID) $ gh discussion comment DC_abc123 --body 'Thanks' # $ gh discussion comment 'https://github.com/OWNER/REPO/discussions/123#discussioncomment-456' --edit --body 'Thanks' # $ gh discussion comment 'https://github.com/OWNER/REPO/discussions/123#discussioncomment-456' --delete # $ gh discussion comment 'https://github.com/OWNER/REPO/discussions/123#discussioncomment-456' --delete --yes (SEE ALSO) gh-discussion(1) Sep 2026 GH-DISCUSSION-COMMENT(1)