ارسال اولين پيچ
همچنین ملاحظه نمائید
Set up Git and SSH to work smoothly with Gerrit. First see Creating a gerrit review.
تنظیم SSH
https://review.jami.net/Documentation/user-upload.html#ssh
- Generate a personal, dedicated public/private key set. 
ssh-keygen -f ~/.ssh/jami_gerrit_review`
Your identification has been saved in jami_gerrit_review.
Your public key has been saved in jami_gerrit_review.pub.
- Tell Gerrit your public key. 
- Set up your local SSH (via - ssh-addor in- ~/.ssh/config).
- Test all of the above (SSH on the service or just try to clone a repo on Gerrit via SSH). 
Your repository
مهم
این * فرض می کند* شما کلون پروژه موجود را از راه برداشته اید.
- Clone a (fresh) copy of the project, - git clone ssh://USERNAME@review.jami.net:29420/PROJECT_NAME_GOES_HERE.git; e.g.,- git clone ssh://foo@review.jami.net:29420/jami-project.git.
- Configure this clone's local .git/config (optional). 
- Generate commit Change-Ids. Also known as commit-msg hook script. 
A shell script to be installed to .git/hooks/commit-msg.
اسکریپت یک Change_Id:hash منحصر به فرد برای هر انجام شده از مخزن شما ایجاد می کند.
- The first time you attempt a push to review - git push origin HEAD:refs/for/master, Gerrit will notice a lack of Change-Id.
- Gerrit همچنین یک رشته امن کپی (scp) را ارائه می دهد. از that برای دانلود کپی از.git/hooks/commit-msg استفاده کنید. 
مرجع
- [بعضی جزئیات خیس]https://review.jami.net/Documentation/user-upload.html#_gritty_details)