Go version a part of the open-pull-request
command of this site
$ go install github.com/Konboi/git-get-pr-number@
$ git-get-pr-number <commit hash>
$ gh pr view (git-get-pr-number <commit hash>) -w
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'