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!
When I tried to this exact thing, the second PR shows all the commits and ends up in conflict
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Here's an article too that I use when working with Feature Branches :)
https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.