Reputation: 11774
Is it possible to set up a collaborator to only pull/push from a specific branch. Or for that matter, not be able to make changes to Master?
Upvotes: 3
Views: 2245
Reputation: 8557
If your repository belongs to an organization, you can enable branch restrictions settings and choose who can push to restricted branches.
https://help.github.com/articles/about-branch-restrictions/
https://help.github.com/articles/enabling-branch-restrictions/
Upvotes: 1
Reputation: 44278
Revoke write access completely and make them fork the repository and submit pull requests.
Upvotes: 2