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
After creating or copying a new .git library to the gerrit server, if you want to see it on the gerrit page, you must restart gerrit to take effect.
After running this command, you can see it on the gerrit page, no need to restart gerrit.
$ ssh -p 29418 alexadmin@localhost gerrit flush-caches --cache project_list