Show patch #59

sorin-ionescu opened this Issue Aug 21, 2012 · 5 comments


None yet

2 participants


I would like to be able to something like ghi show --patch 200 | git am -3.

Could you add -p, and --patch to to the show command? You will have to suffix the issue URL with .patch to get it. It will only work on pull requests.

This is related to #47.


It's also possible to git fetch origin pull/200/head:issue-200, which is just ugly. It will create a local branch called issue-200 containing the pull request.

@stephencelis stephencelis added a commit that closed this issue Aug 21, 2012
@stephencelis Add patch option to show command [fix #59]
Signed-off-by: Stephen Celis <>

Good idea!


Thank you.


@stephencelis Can you colour highlight the patch unless piped?


Not sure of an easy way to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment