How to rename a gerrit project
- 从gerrit官方安装插件:rename-project
- 参照readme来rename: readme
- 例如我自己的命令如下:
ssh -p 29418 ssh://uasername@gerrit.***.cn rename-project umc_tool ROCm/tools/umc_tool
How to sync submodule
通过ssh登录,并且git server关闭了匿名访问,再并且repo中有submodule的时候,此时拉submodule会报错,那咋办?
- add the following content to you ~/.ssh/config
Host *.XXX.cn
HostName gerrit.XXXX.cn
User ${your gerrit name}
Port 29418