vscode-pull-request-github
vscode-pull-request-github copied to clipboard
Allow configuration of default branch in pull requests
It would be great if there was a setting to select the default branch to merge into when opening PRs.
I would love to overrule the Default Branch setting from GitHub (or other VCS) to avoid conflicts. As I'm not always able (or permitted) to edit a Repo's settings.
It would be nice if the default branch to merge was the source branch (the branch you branched from).
It would be nice if the default branch to merge was the source branch (the branch you branched from).
Exactly what I meant
There is the setting githubPullRequests.overrideDefaultBranch
, which lets you override the default branch for the repo.
We also now guess which branch should be the base branch by looking at where you branched off from.
This guessing seems to default to the same branch that you are working on, can you still use the githubPullRequests.overrideDefaultBranch
?
This guessing seems to default to the same branch that you are working on
If you're using the pre-release version with VS Code insiders this should now be fixed.
If not, then you can use githubPullRequests.createDefaultBaseBranch
.