첫 패치를 제출
더 보기
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-add
or 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.게리트는 또한 보안 복사 문자열 (scp) 를 제시합니다..git/hooks/commit-msg의 복사본을 다운로드하려면 that을 사용하십시오.
참고자료
[어떤 비하한 세부 사항]https://review.jami.net/Documentation/user-upload.html#_gritty_details)