Skip to content

GitHub CLI extension to view the current branch's PR

License

Notifications You must be signed in to change notification settings

mloberg/gh-view

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gh view GitHub CLI Extension

An extension for GitHub CLI that opens the current PR in your browser.

Installation

gh extension install mloberg/gh-view

Usage

gh view

If the current branch is a PR, it will open that.

If there is no PR for the branch, it will instead open the branch. You can also view a file in the current branch by passing the filename (and optional line).

gh view main.go
gh view main.go:312

About

GitHub CLI extension to view the current branch's PR

Topics

Resources

License

Stars

Watchers

Forks

Languages