How to disconnect Gitolite from mirroring?

匿名 (未验证) 提交于 2019-12-03 09:02:45

问题:

Running Ubunutu and gitolite3 v3.6.4-19-g8de9b8d on git 1.7.9.5

I have configured 1 master and 2 slaves. I am having issues with mirroring.

What I want to do is to stop the mirroring so I can push some configuration to gitolite-admin repo on the 2 slaves (I need to replace the pub keys).

However when I try to push to the slave I get error of:

"C:\Program Files (x86)\Git\bin\git.exe" push --recurse-submodules=check --progress "origin" refs/heads/master:refs/heads/master FATAL: server2: pushing 'gitolite-admin' to slave 'server2' not allowed fatal: Could not read from remote repository.  Please make sure you have the correct access rights and the repository exists. Done 

I guess this issue is because it is configured as slave, how can I stop the mirroring so I can push the configuration and than active it back again?

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