github - 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?
解决方案
解决方案是将帐户更改为组织。然后可以向分支添加保护规则。
推荐阅读
- kubernetes - 使用 Terraform 创建 kubernetes PV/PVC 时指定命名空间
- docker - 无法在 ansible awx_task 容器中运行 npm 命令
- python-3.x - 如何使用python3提取字符串中子字符串的前后
- python - 如何使用 python Multiprocessing 更新 dict 并正确设置?
- java - Eclipse MemoryAnalyzer 和 sdkman
- matlab - 使用 Matlab 进行 PCA 声音压缩
- ruby-on-rails - Ruby on Rails CRUD and Association example
- javascript - Joi 数组验证忽略需要的嵌套键
- csv - Read max value from CSV and write to new CSV
- javascript - 通过 javascript 或 typescript 编写包含一些对象的 .xlsx 文件有什么想法吗?