logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gh-pr-comment - Add a comment to a pull request

Description

       Add a comment to a GitHub pull request.

       Without the body text supplied through flags, the command will interactively prompt for the comment text.

Example

       $ gh pr comment 13 --body "Hi from GitHub CLI"

Name

       gh-pr-comment - Add a comment to a pull request

Options

-b, --body<text>
              The comment body text

       -F, --body-file<file>
              Read body text from file (use "-" to read from standard input)

       --edit-last
              Edit the last comment of the same author

       -e, --editor
              Skip prompts and open the text editor to write the body in

       -w, --web
              Open the web browser to write the comment

Options Inherited From Parent Commands

-R, --repo<[HOST/]OWNER/REPO>
              Select another repository using the [HOST/]OWNER/REPO format

See Also

gh-pr(1)

                                                    Jan 2025                                    GH-PR-COMMENT(1)

Synopsis

ghprcomment[<number>|<url>|<branch>][flags]

See Also