21 lines
407 B
Markdown
21 lines
407 B
Markdown
|
|
# gh pr view
|
||
|
|
|
||
|
|
> View details of a GitHub pull request.
|
||
|
|
> More information: <https://cli.github.com/manual/gh_pr_view>.
|
||
|
|
|
||
|
|
- View the pull request associated with the current branch:
|
||
|
|
|
||
|
|
`gh pr view`
|
||
|
|
|
||
|
|
- View a specific pull request:
|
||
|
|
|
||
|
|
`gh pr view {{123}}`
|
||
|
|
|
||
|
|
- 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]}}`
|