gh issue view

View an issue in the browser

Synopsis

View an issue in the browser

gh issue view {<number> | <url>} [flags]

Options

  -p, --preview   Display preview of issue content

Options inherited from parent commands

      --help              Show help for command
  -R, --repo OWNER/REPO   Select another repository using the OWNER/REPO format

Examples in use

In the browser

Quickly open a pull request or issue in the browser.

# Viewing an issue in the browser
~/Projects/my-project$ gh issue view 21
Opening https://github.com/owner/repo/issues/21 in your browser.
~/Projects/my-project$

In terminal

Use --preview or -p to view a preview of the title and body.

# Viewing an issue in terminal
~/Projects/my-project$ gh issue view 21 --preview
Onboarding blankstate responsive bugs
opened by user. 0 comments. (bug)

  Noticed some tiny visual bugs with the responsive blankstates

  - Some text bumping into each other at certain sizes
  - Line height on h1
  - When you expand the commit area panel everything breaks

View this issue on GitHub: https://github.com/owner/repo/issues/21
~/Projects/my-project$