`
scm002
  • 浏览: 310101 次
社区版块
存档分类
最新评论

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics