vim-gina
vim-gina copied to clipboard
add option to checkout a github PR locally
One thing I do a lot and miss in gina is the capability to checkout a PR locally.
Currently I always need to do this where 100 is the github PR number.
git fetch origin pull/100/head:pr100
git checkout pr100
Would it be possible to automate this? Even better if github PRs could be shown as a list in gina something like :Gina pullrequests and then have an action to checkout.
It's possible but I think it should be a separated plugin like gina-github.vim or whatever.
Actually, Github integrations are features what I missed in gina.vim for while...
I haven't started that because there is no asynchronous HTTP vital module yet... Maybe I should use an old synchronous one.
https://github.com/mattn/webapi-vim. That one works for vim but not neovim. Uses vim's job api - https://github.com/mattn/webapi-vim/issues/29