Files
cheatsheet-tldr/tldr/gh-pr-view
2025-10-10 00:19:31 +00:00

26 lines
500 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`