Github Hub CLI pull-request to organisation from fork

January 30, 2017   

If you wish to open a Pull Request from the current branch you are working on it’s simply.

hub pull-request -b organisation/repo:master --message="Test PR message"

If you wish to open a Pull Request from the another branch (in your fork perhaps)

hub pull-request -b organisation/repo:master -h github_username:branch-name --message="Test PR message"


blog comments powered by Disqus