1、修改replication.config文件

[remote "xxx"]
   projects = Yilule.Core.Service
   #aliyun仓库
   url = git@code.aliyun.com/xxx.git
   #oschina仓库
   url = git@git.oschina.net/xxx.git
   push = +refs/heads/*:refs/heads/*
   push = +refs/tags/*:refs/tags/*
   push = +refs/changes/*:refs/changes/*
   threads = 3

2、重新加载replication plugin

ssh -p 29418 xxx@xxx.com gerrit plugin reload replication

参考文章:
https://gerrit.googlesource.com/plugins/replication/+doc/master/src/main/resources/Documentation/config.md

相关文章:

  • 2020-01-09
  • 2021-07-07
  • 2021-11-07
  • 2021-08-01
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-09-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案