I’ve created a branch policy on my Main branch in Azure DeVOps Services, which requires a PR be made to commit anything. Then I created a new branch locally, made my changes there. Committed locally, then pushed that to Azure DevOps, which created the same branch on the remote. (I am using VS 2019, so it did that for me.) Next I created a PR, to take the changes in the secondary branch and apply them to Main. That has worked fine.
However, I still have that secondary branch, both on the remote and locally. I thought Azure DevOps would have deleted the secondary branch, but it didn’t. Two questions: why didn’t the PR delete the secondary branch? And what is the proper way for me to get rid of the secondary branch, both on the remote and locally?