Version 1, last updated by Vitalie Lazu at 24 Feb 00:30 UTC
MigrateGitToGerrit
Below steps will help you to migrate your git repository from Source/Git tool to Gerrit Code review tool.
Please fetch your repository from current remote server, let’s suppose it is origin:
$ git fetch origin
Remove Source/Git tool from space admin/tools sidebar.
Remove remote origin from git repository.
$ git remote rm origin
Add Gerrit tool to your space from admin/tools list.
Add gerrit repository origin, use url from Gerrit instructions page.
$ git remote add origin ssh://gerrit_url
Push branches and tags:
$ git push --all origin
$ git push --tags origin