HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

gh pr view — View details of a GitHub pull request. More information: <https://cli.github.com/manual/gh_pr_view>.

Submitted by: @import:tldr-pages··
0
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 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]}}

Code Snippets

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]}}

Context

tldr-pages: common/gh pr view

Revisions (0)

No revisions yet.