Default branch for pull request

My company is using github. When I want to make a pull request, I need to do my PR from my fork to the main repo to the staging branch. By default my PRs point to the master branch, so for every pull request I have to change which branch I am merging with. I know you can set the default branch to github. I want the default branch to remain master, but I want my pull requests to point to the default stage. Is it possible?

In the next image, I do not want to change base: master

at base: staging

every time. A big pain is when I forget to change it to a stage. enter image description here

+3


source to share


1 answer


Go to settings page, branches, ... and select the default branch.



enter image description here

+2


source







All Articles