this post was submitted on 10 Nov 2023
5 points (72.7% liked)
Git
2888 readers
1 users here now
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
- Follow programming.dev rules
- Be excellent to each other, no hostility towards users for any reason
- No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I believe in GitHub branch protection rules, you can set required review by a code owner, as well as set an amount of reviews required.
You are also able to structure codeowner files and assign codeowners to certain paths within the repo that they "own", rather than all or nothing.
You are able to set bypass rules for certain individuals, and as repo admin there is a little checkbox on PRs that will appear by default to allow you to ignore the requirements, although it is generally not recommended, but I won't harp on the reasons others have already pointed out.
disclaimer: I mainly work on a GHES instance, which may be function slightly different than public GH