Hello,
I've been using Bitbucket for a long time without any issues, but for the past few weeks, whenever I try to make a pull request from a branch to my master branch, the web form that captures the PR description and name includes a lot of past commits, not just the ones that need to be merged. For example, if it needs to merge 2 commits, it lists much older commit comments, making it look like you're going to merge more than you should. In reality, it only merges the necessary files, but visually, the description is incorrect and it gives you quite a scare. I end up having to delete the commits I don't want listed every time.
Hey @Gabriel Díaz - Chirón Muñoz ,
and welcome to the Community!
When you start the creation of a pull request, Bitbucket will try to infer the most likely source and destination branches according to your latest work.
Once those branches (source and destination) are automatically populated , the description will be auto-generated containing the description of the commits present in the diff.
However, when changing the selection of either source or destination branches, the description is not always being updated to reflect the diff of the new branches, making the description stay the same when switching branches.
I suspect that you're being affected by that bug, which was already reported to our development team and can be accessed from your public issue tracker below:
If that is the case, I'd suggest adding your Vote in that bug to give it traction and help our engineering team to understand the impact. You also have the option to mark yourself as a watcher, so you get notified of any future updates.
While that bug is actively being worked on, you may want to try the workaround described in the bug ticket:
- Go to the Branches page.
- Select the branch that will be the source branch for your pull request.
- Choose the destination branch from the drop-down menu or leave the default selection.
- lick on the "Create pull request" button.
- The selected branches will appear on the PR creation page.
- The description will be auto-filled based on your branch selections from the previous step
I hope that helps! Let us know in case you have any questions.
Thank you, @Gabriel Díaz - Chirón Muñoz !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.