gh pr view
• 54 words • 1 min • updated
⚠️ This post is over one year old. It may no longer be up to date or relevant. Opinions may have changed.
When working on a local git branch that has a github PR associated to it, at some point you’ll want to open its pull request page.
If you have the github CLI installed (gh), you can do so with gh pr view --web.
If you don’t pass --web, then it will simply output markdown.