Skip to main content

Hello everyone,

We have a protected branch that served as the version branch for a major change we made to the software. This has since been merged back into the MAIN branch and we now want to archive this protected branch. All branches with that version branch as its origin have been merged and/or archived. Is there a way to get this branch archived. If I need to delete all branches that have branched from this version branch I get the following error no matter how long ago they have merged:
 

How can I archive the protected overlaying branch anyway, and if it is not possible without deleting the child branches, how can I get these deleted anyway?

Hi Sander,

Protected prevents the branch from being archived or deleted. You can Edit the branch record and turn of the Protected state if there are no child-branches present anymore. If there are archived child branches, they would have to be deleted first to ensure they are not unarcived later and having no Origin branch anymore.

Child branches have to be deleted prior to archiving or deleting an Origin branch.

From 2024.3, archived branches older than the Branch retention setting value in SF > Maintenance > Configuration are cleaned-up automatically every sunday.


Reply