If I have a public repository, then who can edit my project?
- oneIf the repository belongs to a personal account (not an organization account), then only you and, in exceptional cases, the administration. - etki
- But, any counter-transverse will be able to fork your project and edit it. - Kromster
- @Etki amendment - at default settings - Pavel Mayorov
2 answers
1. Who can edit your public repository?
- You,
- Users / users of GitHub, to whom you in the settings have provided access to edit the repository,
- In exceptional cases, GitHub employees / employees.
2. Pull-request
However, any / any user / GitHub user may offer a pull-request . She / he makes changes to the fork of your repository (forks other users / users can edit as they please) and invites you to merge them into your repository. It is necessary that you accept these changes; Without your consent, no one other than the above three groups can edit your repository.
3. Additional link
In this case, the word public says that all the code that you send to the repository will be available to everyone for viewing in open access, you can only edit . If this is a team project, the entire team will be able to edit , with all previous versions and changes being saved. If you have nothing to hide, then there is nothing to worry about, and maybe even your code will help someone. GitHab provides a private repository for a fee.
- There is nothing in the answer that answers the question who can edit the project ? If you correct the answer, take off the minus. Thank. - Sasha Chernykh
- But it seems to me that this answer fully answers the question. Yes, only you can edit or command. I would have a plus. - Nick Volynkin ♦