Hub: Browse PR by number

Created on 28 May 2019  路  5Comments  路  Source: github/hub

ability to quickly open a pr in the browser.

hub browse pr 1400
hub browse pr <- current branch's pr maybe?

alternatively this functionality can be added to the pr sub command.

hub pr browse PR#

the latter might be better because it would match the user experience of hub pr checkout PR#.

I would love to add this feature myself if possible.

feature

All 5 comments

Take a look at https://github.com/github/hub/pull/2141. Perhaps you can extend that approach to implement hub pr show 1400? Without the PR number, the command would show the PR associated with the current branch.

I thought about implementing this as well, @whatsadebugger write to me if you want me to do it or if your already doing this

Sorry was out on vacation i will try to crack at this tonight in my spare time. Should have a pr by this weekend.

@ashemesh go ahead and incorporate this into your PR. Don't want to duplicate that function and cause conflicts. Sorry for delaying.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eromoe picture eromoe  路  4Comments

stsewd picture stsewd  路  4Comments

jfritzbarnes picture jfritzbarnes  路  3Comments

le0nik picture le0nik  路  4Comments

wwwdata picture wwwdata  路  3Comments