努力让 gerrit 复制工作。这是我的 replication.config 示例
[remote "github"]
url = git@github.com:dbousamra/${name}.git
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
timeout = 5
replicationDelay = 0
authGroup = Administrators
我认为我做得对,但是当我强制进行手动 gerrit 复制时,我会看到:
at java.lang.Thread.run(Thread.java:619)
[2011-07-11 14:43:41,386] ERROR com.google.gerrit.server.git.PushReplication : Cannot replicate to git@github.com:dbousamra/gitanalysis.git
org.eclipse.jgit.errors.TransportException: git@github.com:dbousamra/gitanalysis.git: push not permitted
现在
ERROR com.google.gerrit.server.git.PushReplication : Cannot replicate to git@github.com:dbousamra/All-Projects.git
org.eclipse.jgit.errors.TransportException: git@github.com:dbousamra/All-Projects.git: invalid privatekey: /home/git/.ssh/x.pub