gitolite-admin.conf doesn't work

[亡魂溺海] 提交于 2019-12-08 14:13:25

That is because gitolite honors gitolite.conf very strictly. You need to specify these lines in the conf file

repo @all
     RW+    =    @all

This will allow you to do operations on all the repos. But, you need to understand that when you specify @all in repo section, that means every repo falls in this rule. So, even if you have something like this in the file:

repo foo
     R      =     xyz

gitolite ignores it because it sees that the repo foo belongs to @all. So, in order for clone operation to work, you need to specify READ permission to all the repos, something like this:

repo @all
     R      =    @all

And then you need to add all the permissions to the other repos as well, otherwise you will only be allowed to read the other repos and not write them.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!