To make PRs that auto point to develop instead of master (or another default branch) you can do the following
- Install github hub cli:
brew install hubhttps://github.com/github/hub - Set the origin default branch:
git remote set-head origin develophttps://github.com/github/hub/commit/e645f9aaed46ea6c00f64a54fae92b1d68e81dbb - When on your branch use hub command:
hub pull-request - Edit PR notes in VIM, and exit
- Cmd click on link generated to confirm your PR is setup in github