ITeye博客

Make Gerrit look for new repositories

scm002 · 2017-03-08 19:01 · Git/Gerrit · 开源软件 · Markdown

Command line alternative

Copy bare Git repository into ~/gerrit_testsite/git/myproject.git

Make Gerrit look for new repositories:

$ ssh -p 29418 alexadmin@localhost gerrit flush-caches --cache project_list

 

创建或copy了新的.git库到gerrit server上后,如果想要在gerrit页面看到,必须重启gerrit才能生效。

运行此命令后,即可在gerrit页面看到,不需要重启gerrit.

$ ssh -p 29418 alexadmin@localhost gerrit flush-caches --cache project_list

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。