మీ మొదటి పాచ్ సమర్పించడం

See also

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

  1. 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.

  1. Tell Gerrit your public key.

    1. Log in to Gerrit via your GitLab account (Sign-in → OAuth GitLab).

    2. Follow the SSH key instructions found in (your) user options settings.

  2. Set up your local SSH (via ssh-add or in ~/.ssh/config).

  3. Test all of the above (SSH on the service or just try to clone a repo on Gerrit via SSH).

Your repository

Important

ఇది మీరు ఇప్పటికే ఉన్న ప్రాజెక్ట్ క్లోన్ ను తొలగించారని అనుకుంటున్నాము

  1. 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.

  2. Configure this clone's local .git/config (optional).

  3. 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.

  • జెరిట్ కూడా ఒక సురక్షిత కాపీ (scp) స్ట్రింగ్ను ప్రదర్శిస్తుంది..git/hooks/commit-msg యొక్క కాపీని డౌన్లోడ్ చేయడానికి that ఉపయోగించండి.

సూచనలు

  • [కొన్ని గ్రిట్టి వివరాలు]https://review.jami.net/Documentation/user-upload.html#_gritty_details)