我可以在GitHub上只指定一个特定的分支(只读)吗? [英] Can I specify a specific branch on GitHub pull-only (read-only)?

查看:666
本文介绍了我可以在GitHub上只指定一个特定的分支(只读)吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法将GitHub上的特定分支设置为只能拉(只读),还是只能为整个存储库设置?

解决方案

无法在Github上执行分支级别权限,但 gitolite项目

a>支持你在找什么。


Is there a way to set a specific branch on GitHub to pull-only (read-only) or can I only set this for the whole repository?

解决方案

There is no way to do branch level permissions on Github, but the gitolite project supports what you're looking for.

这篇关于我可以在GitHub上只指定一个特定的分支(只读)吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆