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 Internals II
Search
Daniel Libanori
June 07, 2019
Technology
0
40
Git Internals II
Daniel Libanori
June 07, 2019
Tweet
Share
More Decks by Daniel Libanori
See All by Daniel Libanori
SLA 99,99 - RubyConf 2022
dlibanori
0
62
Feature Toggles e suas categorias
dlibanori
0
90
PostgreSQL MVCC Internals
dlibanori
1
83
OWASP: O que ler
dlibanori
0
21
Git Internals I
dlibanori
0
25
Introdução ao systemd
dlibanori
0
160
The Evils of Duplication
dlibanori
3
110
Other Decks in Technology
See All in Technology
無意味な開発生産性の議論から抜け出すための予兆検知とお金とAI
i35_267
0
220
ネットワーク保護はどう変わるのか?re:Inforce 2025最新アップデート解説
tokushun
0
140
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
2
640
Model Mondays S2E03: SLMs & Reasoning
nitya
0
220
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
LangSmith×Webhook連携で実現するプロンプトドリブンCI/CD
sergicalsix
1
140
PHPでWebブラウザのレンダリングエンジンを実装する
dip_tech
PRO
0
210
生成AI開発案件におけるClineの業務活用事例とTips
shinya337
0
160
SpringBoot x TestContainerで実現するポータブル自動結合テスト
demaecan
0
110
AI導入の理想と現実~コストと浸透〜
oprstchn
0
140
生成AI時代 文字コードを学ぶ意義を見出せるか?
hrsued
1
680
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
280
Featured
See All Featured
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
5
230
Why Our Code Smells
bkeepers
PRO
337
57k
How to Ace a Technical Interview
jacobian
277
23k
Art, The Web, and Tiny UX
lynnandtonic
299
21k
Designing for humans not robots
tammielis
253
25k
Practical Orchestrator
shlominoach
188
11k
Balancing Empowerment & Direction
lara
1
390
Optimising Largest Contentful Paint
csswizardry
37
3.3k
Rails Girls Zürich Keynote
gr2m
94
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
The Cost Of JavaScript in 2023
addyosmani
51
8.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Transcript
Git Internals II O Retorno
Recap • Blob • Tree • Commit • Tag
Branches?!
refs • ref: SHA1 hash ID que referência um objeto
Git • Qual objeto? QUALQUER UM! • Porém geralmente é um commit • Já conhecemos esse cara…
symref • É um nome que aponta para um ref
• Branches locais, branches remotos e tags • Git pumbling: git rev-parse e git symbolic-ref
Clássicos • HEAD: commit mais recente do branch atual •
ORIG_HEAD: operações merge e reset guardam o HEAD de origem • FETCH_HEAD: operação fetch guarda o HEAD remoto • MERGE_HEAD: commit do branch mergeado
Heurística • .git/ref • .git/refs/ref • .git/refs/tags/ref • .git/refs/heads/ref •
.git/refs/remotes/ref • .git/refs/remotes/ref/HEAD
None
None
None
None
None