我有一个带有3个存储库的远程服务器ABC,代码是jellybean、Kitkat和棒棒糖。现在,我只想在另一个服务器XYZ上复制Lollipop存储库。有人能帮我做replication.config吗?我怎么写replication.config。
Gerrit document says
[remote "host-one"]
url = gerrit2@host-one.example.com:/some/path/${name}.git
[remote "pubmirror"]
url = mirror1.us.some.org:/pub/git/${name}.git
url = mirror2.us.some.org:/pub/git/${name}.git
url = mirror3.us.some.org:/pub/git/${name}.git
push = +refs/heads/*
push = +refs/tags/*
threads = 3我应该同时提到主机ABC和镜像XYZ吗??请举例说明
发布于 2015-11-16 10:51:14
以启用复制。首先,我们需要在从服务器上创建现有存储库的镜像。然后在replication.config中,在master中提及存储库名称。
https://stackoverflow.com/questions/33411948
复制相似问题