Skip to main content
Solved

Unprotect branch


Forum|alt.badge.img+2

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’.

 

Best answer by Mark Jongeling

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.

View original
This topic has been closed for comments

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • Answer
  • March 8, 2024

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.


Forum|alt.badge.img+2

Hi Mark,

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings