gh issue comment

Comment on an issue

What it does

gh issue comment adds a message to an issue's conversation. The text goes in --body; without it an editor opens.

GitHub turns numbers like #42 into links to issues and pull requests, and @anna notifies the user. --edit-last edits your last comment.

Syntax

gh issue comment <number> --body "<text>"
gh issue comment <number> --edit-last

Examples

Related commands

Practise · All commands