Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git & Gerrit
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
62
HCatalog & Templeton
dgkim84
2
390
Other Decks in Technology
See All in Technology
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
1.5k
Railsのように考える: See through the Master
snoozer05
PRO
1
450
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
4
1.6k
Deployment の 先にある AI Agent 基盤 - kagent vNext、Agent Substrate、Hermes から読み解く Agent Runtime の現在地 / k8s-matsuri-2-ai-agent-platform-amsy810
masayaaoyama
3
540
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.5k
range over func 2年間の軌跡 Issue #56413 はGoのエコシステムをどう変えたか
ryujicre8ive
0
180
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
450
GoCon2026 - Open Source, Open World
sanposhiho
4
4.4k
Snowflakeのコスト最適化を支えるアーキテクチャ設計
ktatsuya
1
1.6k
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
190
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
130
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
150
Featured
See All Featured
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.8k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
390
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
57k
Designing for humans not robots
tammielis
254
26k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
Navigating Team Friction
lara
192
16k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
230
Into the Great Unknown - MozCon
thekraken
41
2.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
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