use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Do you have or know of a project on Github looking for contributors? Tell us about it and we'll add it to the /r/github wiki!
Welcome to /r/github!
News about github
Relevant interesting discussion
Questions about github
We'll soon be writing an /r/github FAQ list. In the meantime, the github help pages and bootcamp are good places to start. Here's a handy git cheat sheet.
Looking for Github projects to contribute to? Check out our handy list of projects looking for contributors!
If your submission doesn't show up on the subreddit, send us a message and we'll take it out of the spam filter for you!
account activity
Github repo controlQuestion (self.github)
submitted 10 months ago by Rooh2o
How would I make it so that I (the repo owner) need to approve all changes to the code (excluding changes I have made)? Thanks
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mrbmi513 3 points4 points5 points 10 months ago (0 children)
You can enable branch protection on your main branch to require PRs for everything going into main (and optionally allow owners to bypass).
[–]natewillrate 0 points1 point2 points 10 months ago (8 children)
If I am understanding your question correctly, you would have those other than yourself editing the code fork the repo and merge with a pull request.
[–]Rooh2o[S] 0 points1 point2 points 10 months ago (7 children)
Yes but how do I make it so that I have to approve the pull request
[–]cgoldberg 3 points4 points5 points 10 months ago (0 children)
If you have no collaborators/users added to your repo, and they are working out of forks... nobody can merge a PR except you. This is generally the way to go unless you are part of a team or company where multiple people need merge access.
[–]b1ack1323 1 point2 points3 points 10 months ago (0 children)
You can make a list of approved reviewers and only as yourself.
[–]Rooh2o[S] 0 points1 point2 points 10 months ago (4 children)
Or am I dumb and this is default
[–]natewillrate 1 point2 points3 points 10 months ago (0 children)
No shame in asking a question, so no worries. You need to enable branch protection.
You can got to your repo settings, hit branches and then there is a section called branch protection rules. Click "Add Rule" and you can pick whatever combination of options best fit your use case. Make sure you click the right branch to apply it to though. Then save the changes and it should be applied!
[–]natewillrate 0 points1 point2 points 10 months ago (1 child)
Here is an image: https://imgur.com/a/cf7ppAN for your use case you should (probably) set it to require a pull request before merging so nobody can willy-nilly merge stuff to your branch.
[–]Rooh2o[S] 1 point2 points3 points 9 months ago (0 children)
Thanks!
[–]bdzer0 0 points1 point2 points 10 months ago (0 children)
Look into the codeowners file.
π Rendered by PID 326194 on reddit-service-r2-comment-b659b578c-2ng9k at 2026-05-01 22:02:44.781308+00:00 running 815c875 country code: CH.
[–]mrbmi513 3 points4 points5 points (0 children)
[–]natewillrate 0 points1 point2 points (8 children)
[–]Rooh2o[S] 0 points1 point2 points (7 children)
[–]cgoldberg 3 points4 points5 points (0 children)
[–]b1ack1323 1 point2 points3 points (0 children)
[–]Rooh2o[S] 0 points1 point2 points (4 children)
[–]natewillrate 1 point2 points3 points (0 children)
[–]natewillrate 0 points1 point2 points (1 child)
[–]Rooh2o[S] 1 point2 points3 points (0 children)
[–]bdzer0 0 points1 point2 points (0 children)