My team wants me to create a separate pull request (with Bitbucket) for each logical change in a project so that it can be reviewed and approved easily.
I need to implement features A, B and C.
I created branch A, implemented the first change and created a pull request for A-->master. Now while I am waiting for review and approval I want to work on the next feature. I created a branch B derived from A.
master
\
A
\
B
Now I also finished implementing B and want to create another pull request for my team to review. If I do so (B-->master) it shows me both commits from A and B (which makes sense of course), but I don't want my team to review A again.
I know that I could make the second pull request B-->A but what will happen to this pull request if A is merged into master and deleted afterwards before B was merged into A?
How can I have parallel pull requests that contain the changes for A and B but which are disjoint?
So, you have a master branch.
Now, since B was created from A, it will have the commits from A as well. And even if A gets merged into the master branch and the pull request for branch A will close, the branch A still remains.