Reputation: 14351
I want to allow some collaborators on one of my github repos, however I would like to limit them to their own Branch. There's only a handful of collaborators, and limiting them to their own branch would prevent erroneous commits/push's to the wrong branch.
Is there a way to do this? Am I going about this collaboration thing wrong? Is there a better way?
Thanks for any info, I'm new to having others work on my repos. Thanks.
Upvotes: 2
Views: 868
Reputation: 16185
For doing that they just need to fork your repository, work on it and uploaded their changes. After that you, as the owner, will be responsible for accepsting the changes and merging them into your master or not.
If you are working with a organisation account what you want is quite difficult, due to the fact that you can only restrict access to the whole repository. Anyway you could create a group for that repo with some collaborators giving them admin rights and another group with other collaborators giving them just pull
rights so that they cannot make undesired changes.
However for your case I think you need an organisation account
Upvotes: 3