repositorypackage
0.2.0
Repository: https://github.com/konboi/git-get-pr-number.git
Documentation: pkg.go.dev
# README
git-get-pr-number
Go version a part of the open-pull-request
command of this site
Install
$ go install github.com/Konboi/git-get-pr-number@
Usage
$ git-get-pr-number <commit hash>
Tips
$ gh pr view (git-get-pr-number <commit hash>) -w
tig
You can open the PR from tig with Shit - P
command use by below config.
bind generic P @sh -c 'gh pr view $(git-get-pr-number %(commit)) -w'