GitSavvy icon indicating copy to clipboard operation
GitSavvy copied to clipboard

Support hub pull-request

Open dufferzafar opened this issue 8 years ago • 4 comments

hub pull-request opens the editor to edit the message etc. and then creates a new PR. I think this should be added to Savvy too.

How I imagine this would work with GitSavvy is: * There's a new key for Create Pull Request in Savvy's status view * Pressing it will be quite similar to the c (commit) key, as it will open a new tab for editing the PR's description etc. * Super+Enter will then create the PR

It'll also be great if we could get the entire PR's diff in that view too!

hub help pull-request lists some flags that might be useful too, but we can figure that out later.

dufferzafar avatar Jul 14 '16 07:07 dufferzafar

This issue has come from #435 which was deemed too broad.

dufferzafar avatar Jul 14 '16 07:07 dufferzafar

Have you checked out github: create pull request, it will open a browser at github.com to create the pull-request. It is not exactly what you are asking for, but it works.

Together with GhostText, you could edit the PR message in Sublime Text.

randy3k avatar Jul 17 '16 16:07 randy3k

Thanks. I didn't know about it already. Will try it a few times, and see how it works out.

dufferzafar avatar Jul 18 '16 05:07 dufferzafar

Thanks for pointing that out @randy3k. @dufferzafar, my guess is that the github: create pull request will be the closest to what you want. I've drawn a pretty firm line in the past to not recreate the features that GitHub supplies, but rather improve GitSavvy's interoperability with it.

divmain avatar Jul 18 '16 19:07 divmain