commands.sh

gh pr view

all

View details of a GitHub pull request.

More info →

Options (2)

-w, --webboolean

Open the pull request in the default web browser

Example: gh pr view {{[-w|--web]}}
-c, --commentsboolean

Show comments in the terminal

Example: gh pr view {{123}} {{[-c|--comments]}}

Examples (4)

View the pull request associated with the current branch

View a specific pull request

Open the pull request in the default web browser

gh pr view [-w|--web]

Show comments in the terminal

gh pr view 123 [-c|--comments]
made by @shridhargupta | data from tldr-pages