如何为多个项目和开发人员组设置git存储库和权限

发布于 2024-07-20 22:52:38 字数 134 浏览 6 评论 0原文

使用 Subversion,我们可以设置存储库中每个目录的访问权限。 所以例如。 一个组可以对目录 A 进行提交访问,对 B 进行读取 - 例外的是 DevA 还对 B 具有提交权限。

如何为 Git 存储库设置这样的结构和权限?

With Subversion one can setup access permissions per directory within repository. So eg. one group can have commit access to directory A, read on B - with exception that DevA has also commit permissions on B.

How can one setup such a structure and permissions for Git repositories?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

不一样的天空 2024-07-27 22:52:38

Gitosis 可以帮助你。 (该页面目前似乎已关闭,但源代码仍然可以在 http://eagain 获取。 net/gitweb/?p=git​​osis.git。)

Gitosis can help you there. (The page seems to be down currently but the source is still available at http://eagain.net/gitweb/?p=gitosis.git.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文