Suppose the following happens in an Azure DevOps, GIT environment
- Developer 1 creates "Branch A" from "master" to work on a bug.
- Developer 2 creates "Branch B", from "Branch A" to do some extra work for Developer 1
- When the Developer 2 is done, he pushes his changes to B and creates a pull request for the Developer 1
- Developer 1 uses the Azure DevOps web interface, approves, then completes completes the pull request
Now typically, when we just have a simple branch off master, everything gets merged to master and that's great. But in this case, with a sub-branch off a branch, I want to be sure of something:
When the Branch B gets merged in my scenario, it is only merged back to the immediate parent "Branch A", right? In other words, Azure DevOps doesn't merge anything all the way to "master", does it?
This might be a dumb question but discussions of pull requests (that I have seen) tend to talk about a simple, branch-off-master scenario. Besides, I'm not sure if Azure DevOps, in the interest of making things easier, might use any defaults that would not be assumed in another Git environment so I feel I should ask this to be sure.