Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Git & Gerrit
Search
dgkim84
July 18, 2012
Technology
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git & Gerrit
Git & Gerrit
dgkim84
July 18, 2012
More Decks by dgkim84
See All by dgkim84
Logical clocks
dgkim84
1
59
HCatalog & Templeton
dgkim84
2
390
Other Decks in Technology
See All in Technology
非定型業務をAI slackbotで自動化する ~ 社内要望を自動壁打ちするbotを作った ~/automating-ad-hoc-work-with-ai-slackbot
shibayu36
0
650
2026TECHFRESH畢業分享會 - Lightning Talk - 打造精準高效的 MCP 設計模式與測試實務
line_developers_tw
PRO
0
990
RSA暗号を手計算したくなること、ありますよね?? (20260615_orestudy6_rsa)
thousanda
0
390
Agent Skills設計で柔軟性と硬さのバランスが難しい話
nassy20
0
130
On-behalf-of Token exchange with AgentCore Identity
hironobuiga
2
170
Snowflakeと仲良くなる第一歩
coco_se
4
470
小さくはじめるSLI/SLO ~育てながら組織に定着させる実践知~ / Starting Small with SLI/SLOs: Building Adoption Through Continuous Growth
nari_ex
7
1.9k
自宅LLMの話
jacopen
1
550
AIのReact習熟度を測る
uhyo
2
530
新しいVibe Codingと”自走”について
watany
6
320
2026 TECHFRESH 畢業分享會 - AI-Native 重塑軟體工程與虛擬講師
line_developers_tw
PRO
0
990
EventBridge Connection
_kensh
5
710
Featured
See All Featured
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.3k
Code Review Best Practice
trishagee
74
20k
What does AI have to do with Human Rights?
axbom
PRO
1
2.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
71
40k
Being A Developer After 40
akosma
91
590k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
170
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
590
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.8k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1.1k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
300
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
610
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
160
Transcript
Gerrit Daegeun Kim (
[email protected]
) 1 5IVSTEBZ 0DUPCFS
Gerrit • A Code Review System based on JGit •
Open source (Apache 2 License) 2 5IVSTEBZ 0DUPCFS
Review 3 Pre-commit Review 0 25 50 75 100 ѐߊ
٣ߡӒ 5IVSTEBZ 0DUPCFS
Review 4 Pre-commit Review 0 25 50 75 100 ѐߊ
٣ߡӒ 5IVSTEBZ 0DUPCFS
Review 5 Pre-commit Review 0 25 50 75 100 ѐߊ
٣ߡӒ 5IVSTEBZ 0DUPCFS
Review 6 Pre-commit Review 0 25 50 75 100 ѐߊ
٣ߡӒ 5IVSTEBZ 0DUPCFS
Git standalone commit Local Repo Working Tree Remote Repo pull/push
7 5IVSTEBZ 0DUPCFS
Git and Gerrit commit Local Repo Working Tree merge Remote
Repo Gerrit pull/fetch push for review 8 5IVSTEBZ 0DUPCFS
Git, Gerrit and CI Local Repo commit Working Tree merge
Remote Repo Gerrit pull/fetch push for review fetch verify 9 5IVSTEBZ 0DUPCFS
Request for Review Local Repo merge Remote Repo Gerrit pull/fetch
push for review • Implementing a new feature • Committing them to the repo • Uploading changes to Gerrit 10 5IVSTEBZ 0DUPCFS
Uploading changes (Simple) 11 $ git init $ git clone
ssh://[user]@hostname:port/[project] ... $ git push origin HEAD:refs/for/master ... 5IVSTEBZ 0DUPCFS
Uploading changes (Advanced) 12 $ git push [alias] HEAD:refs/for/[branch] $
git push \ ssh://[user]@hostname:port/[project] \ HEAD:refs/for/[branch] $ git push [alias] HEAD~1:refs/for/[branch] $ git push [alias] [MD5]:refs/for/[branch] or $ git config remote.[alias].push refs/head/*:refs/for/* $ git push [alias] 5IVSTEBZ 0DUPCFS
Adding Reviewers 13 Add Reviewer 5IVSTEBZ 0DUPCFS
Uploading/Adding Reviewers (Advanced) 14 $ git push [alias] --receive-pack=‘git receive-pack
\ --reviewer [email 1] --reviewer [email 2] \ --cc [email 3] --cc [email 4]‘ \ HEAD:refs/for/[branch] or $ git config remote.[alias].receivepack \ ‘git receive-pack --reviewer [email 1] \ --cc [email 2]’ $ git push [alias] HEAD:refs/for/[branch] 5IVSTEBZ 0DUPCFS
Review and Verify merge Remote Repo Gerrit Reviewers a.2 review
a.1 fetch b.1 fetch b.2 verify 15 5IVSTEBZ 0DUPCFS
Review merge Remote Repo Gerrit Reviewers a.2 review a.1 fetch
16 • Fetching the changes • Code review! 5IVSTEBZ 0DUPCFS
Fetching the changes 17 copy 5IVSTEBZ 0DUPCFS
Fetching the changes 18 $ git fetch http://hostname:port/p/[project] \ refs/changes/[last
two numbers of change id]/ [change id]/[patch id] $ git checkout FETCH_HEAD $ git show HEAD ex) $ git fetch http://reviews.geekple.com/p/memcached \ refs/changes/40/40/2 5IVSTEBZ 0DUPCFS
Review (Advanced) 19 $ ssh -p [port] [user]@[hostname] gerrit review
\ --code-review=+1 \ --project=[project] \ [commit or change,patch] 5IVSTEBZ 0DUPCFS
Verify merge Remote Repo Gerrit b.1 fetch b.2 verify 20
• -1 when the build fails. • +1 when it passes. 5IVSTEBZ 0DUPCFS
Verify (Advanced) 21 $ ssh -p [port] [user]@[hostname] gerrit review
\ --verified=+1 \ --project=[project] \ [commit or change,patch] 5IVSTEBZ 0DUPCFS
Q & A 22 5IVSTEBZ 0DUPCFS