Suppose I create a branch B, make some changes, push it, then create a pull request against master. Once that pull request has been absorbed into master, can I resync B with master and then reuse it for a new pull request?
Hey Skip,
If this is for Bitbucket Server, the branch will not be removed from Bitbucket and certainly not from you local copy after a merge occurs. You can always reuse that branch if you'd like or remove it. In Bitbucket Cloud we wont' remove the branch after a pull request is merged unless you use the "Close branch" checkbox during pull request creation. Hope that helps!
Here's an article too that I use when working with Feature Branches
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
Cheers!
When I tried to this exact thing, the second PR shows all the commits and ends up in conflict
It looks like you're new here. Sign in or register to get started.