首页 > 解决方案 > GitHub invitation of a developer with access restriction

问题描述

I want to invite an external developer to a private repository. This developer should be allowed to do nothing in the master and nothing in the stage branch. Only in the devel branch he should be allowed to commit.

In the section "Settings" I selected the tab "Branches". There I created a branch protection rule for the branch "master" and "stage".

I tried to follow these instructions: https://help.github.com/en/articles/enabling-branch-restrictions But I can't find the option "Restrict who can push to this branch".

What do I have to do to realize my request?

标签: github

解决方案


解决方案是将帐户更改为组织。然后可以向分支添加保护规则。


推荐阅读