Hello,
I am quite new in git and I would like to ask for help in understanding the differences between deleting branch, closing it or moving to archive?
When I creating new pull request in Bitbucket cloud there is option to check "Delete My-Branch-Name after the pull request is merge".
But when I merging the same pull request in Bitbucket cloud then I have option to check "Close source branch".
Are those two options combine with each other, can I have here any conflicts here?
For example what will happen if I choose "Close source branch" when merging, but before (when I was creating pull request) I checked "Delete My-Branch-Name after the pull request is merge".
I am not even sure if those two actions are only Bitbucket's or at all Git's features?
But I've also heard about archiving branches on Git. And it seems to be for me the best option while I mainly want to archive branches instead deleting them. I would like to delete branch only manually. But not sure how to achieve that?
Or maybe "Close source branch" (when merging) is the same as archiving it? Or is it something else?
For any help in understanding those issues great thanks in advance.
Best Regards