Creating pull request with hub pull-request CLI
Hub, GitHub command-line wrapper for git allows you to create pull request straight from your terminal. This way, when a feature you’re working on, you can save some time, skipping creating pull request GitHub. Even if you use tool like Vimium, hub pull-request
can be a little faster.
Run hub pull-request
and enter your GitHub password. If you have enabled two-factor authentication, enter the code you will receive (via SMS for instance). The last step is to generate token so that hub
can create pull requests on your behalf.
If you see ‘bad credentials’ error, remove ~/.config/hub
config and try to run hum pull-request
again.
Written by Wojtek Ryrych
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#