搜索
您的当前位置:首页Make Gerrit look for new repositories

Make Gerrit look for new repositories

来源:乌哈旅游

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

因篇幅问题不能全部显示,请点此查看更多更全内容

Top