Reputation: 15420
I have two branches on m GitHub repository. I wanted to restrict developers access to these branches, basically I want Team A to access on Branch1 and Team B to access Branch2, and I (as admin) can merge master branch with both these branches when required. Is this possible on Github so that TeamA and B can only access "branches" and not the "master" branch?
Upvotes: 2
Views: 509
Reputation: 4404
You can do that by creating forks of the repository, one for each team. And you who is developer for the central repo can merge from both forks.
Upvotes: 4