본문으로 바로가기

Git Review

category Installation & Setting/Gerrit 2019. 7. 28. 13:12
728x90

TortoiseGit, git review, git, git ssh는 설정 되어있는 상태

1. Clone

(1)Clone 할 폴더 열기

(2)해당 폴더에서 Git Bash 실행

(3)Gerrit에서 Clone할 project에서 Commit with commit-msg hook > SSH의 git clone 명령어 복사

(4)Git Bash에 해당 project Clone

2. git Review

(1) 최초 Clone시 Clone Project의 Root 폴더에 .gitreview 파일을 생성해야 함

host= ip or host
port=29418
project=project.git
defaultbranch=master

 

(2) 코드 수정 및 작업

 

(3) commit 할 파일 추가

git add (commit할 파일 or .)

 

(4) commit 후 title 입력후 저장

git commit

 

(5) git review

git review

'Installation & Setting > Gerrit' 카테고리의 다른 글

Jenkins Setting for Gerrit  (1) 2019.07.28
Gerrit Verified Setting  (0) 2019.07.28
INSTALLATION GERRIT  (0) 2019.07.28