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.
Loading...
Related Quiz
- The ________ branch in Gitflow is used for integrating features before a release.
- Which Git command is typically used to upload your local repository to a cloud platform?
- In the context of large-scale collaborative projects, what is a key advantage of using the Forking workflow over Gitflow?
- In Git, a _______ merge is used to integrate changes from one branch into another without creating a merge commit.
- How can Git be configured to handle large binary files often found in database backups?