How do branch protection rules contribute to repository security?

  • Prevent force pushes to protected branches
  • Restrict branch deletion
  • Control who can merge to certain branches
  • All of the above
Branch protection rules enhance repository security by preventing force pushes, restricting branch deletion, and controlling who can merge to specific branches. However, the options provided do not include the correct answer.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *