有着这样的宝石结构:
repo users/CREATOR/.+
C = @defaultgroup
RW+D = CREATOR
RWD = @defaultgroup我们服务器的用户只需克隆“要创建的”回购,就可以轻松地创建自己的存储库--例如:
git clone git@git.exmaple.com/users/foo.bar/new这也出现在我们的gitweb上。但缺少的是一些git配置。我还没有弄清楚如何将工作配置添加到这些新创建的存储库(例如gitweb.url)中。
只是为了比较--这就是“正常”回购的样子:
repo normal/repo
R = @all
RW = @defaultgroup
config gitweb.url = git@git.exmaple.com/normal/repo.git
config receive.denyNonFastforwards = true欢迎任何暗示,干杯。
https://serverfault.com/questions/441687
复制相似问题