owenthereal/gh

Save pull request message file when pull request fails

derekprior opened this issue · 1 comments

I tried to create a pull request for a branch that I had not yet pushed to the remote server. As a result the pull request failed. Unfortunately, the pull request message is lost in this case. It would be nice if a temp file were output for future use with the -F option to the pull request command.

gh will become hub 2.0 in the future and this is fixed in hub 2.0. What happens is if there's a previous message, it will load it. I may not back port the fix to this repo since hub 2.0 is around the corner. I'll be making a beta build for hub 2.0. Stay tuned for announcement.