Skip to main content

How can we unprotect a branch? This branch was protected by accident, and I would like to archive it after merging. I cannot alter the checkbox ‘Protected’.

 

Hi Allard, 

Branches that are the Origin of another branch cannot be set unprotected until all (child) branches of the Origin are deleted. That is because deleting the origin of a branch would leave the branch unable to be merged. The "Origin of other branches” checkbox indicates that.

To resolve this, merge and/or delete all branches of the origin branch and then edit the Protected state.


Hi Mark,

Ah, it was the origin of an archived branch. I have deleted this branch and can now edit the protected state. Thanks!