snippetbashTip
gh pr view — View details of a GitHub pull request. More information: <https://cli.github.com/manual/gh_pr_view>.
Viewed 0 times
commandpullgithubdetailsclirequestgh pr viewview
Problem
How to use the
gh pr view command: View details of a GitHub pull request. More information: <https://cli.github.com/manual/gh_pr_view>.Solution
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 viewView 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]}}Code Snippets
View the pull request associated with the current branch
gh pr viewView 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]}}Context
tldr-pages: common/gh pr view
Revisions (0)
No revisions yet.