Reputation: 4414
I work on a project that uses git and Atlassian bitbucket. When we merge a feature branch into our develop branch, the feature branch's remote seems to get deleted. But that only seems to happen when we merge into develop - not when we merge into another feature branch. Is the deletion triggered by a setting from within git? Or by a setting in bitbucket?
Upvotes: 0
Views: 2291
Reputation: 36720
The "delete source branch after merge" option is not visible to me. Clearly it exists, per the Atlassian link you provide.
It sounds this is disabled. Unfortunately I cannot find how they could disable this.
When we merge a feature branch into our develop branch, the feature branch's remote seems to get deleted. But that only seems to happen when we merge into develop - not when we merge into another feature branch. Is the deletion triggered by a setting from within git? Or by a setting in bitbucket?
I guess this is a plugin in Bitbucket then. For example, the plugin PullRequest Workflow has an option to delete branches when the target is a specific branch (range).
But maybe it's one of these things where if you don't have authority to change the setting
Sounds a good question for the Bitbucket admin on your side ;)
Upvotes: 1