gitolite没有用subconf创建repos

时间:2016-01-27 17:52:05

标签: git gitolite

编辑并推送以下配置文件:

文件:gitolite-admin\conf\gitolite.conf,内容为:

subconf %HOSTNAME "%HOSTNAME/*.conf"
repo gitolite-admin
    RW+     =   useradmin
    option mirror.master = server1
    option mirror.slaves = server2 server3

和文件

gitolite-admin\conf\server1\server1.conf
gitolite-admin\conf\server2\server2.conf
gitolite-admin\conf\server3\server3.conf

内容为

repo test1
    RW+     =   adminuser

推送时我得到以下内容,并且没有在任何服务器中创建回购

"C:\Program Files (x86)\Git\bin\git.exe" push --recurse-submodules=check --progress "origin" refs/heads/master:refs/heads/master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Total 3 (delta 1), reused 0 (delta 0)
remote: WARNING: subconf 'server1' attempting to set access for test1
To git@10.12.42.12:gitolite-admin
   d25ffe1..186ba79  master -> master
Done

修改 在git 1.7.9.5上运行gitolite3 v3.1-8-ga509b20

0 个答案:

没有答案