I just wondering is there an option in SourceTree to change the default branch of automatic pull requests.
You can create pull request but you instead fork someone project then upload your own and in your fork make changes. Select options to compare branches. This is one of method.
Once you've committed changes to your local copy of the repository, click the Create Pull Request icon. Check that the local branch and repository you're merging from, and the remote branch and repository you're merging into, are correct. Then give the pull request a title and a description. Click Create.
If you are using SourceTree & github the answer seems to be no :( Yes ! see the last part of my answer !
The documentation of attlasian says that you can do that in BitBucket if the admin has allowed that option (https://confluence.atlassian.com/display/BITBUCKET/Work+with+pull+requests)
If you are pulling a request across branches, you can have the option to close the branch when your request is merged. Whether you have this option depends on whether the repository is Git or Mercurial. Mercurial repositories always have this option. Git repositories have this option if the repo administrator allows it; Otherwise, the option is greyed out.
In other hand if you are working with github you can do that manually.
Merge pull request to a different branch than default, in Github
---Edit:
Looking deep i found that when you create your PullRequest in github you can select which will be your branch used as "base"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With