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
65
Feature Toggles e suas categorias
dlibanori
0
91
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
OCI Oracle Database Services新機能アップデート(2025/06-2025/08)
oracle4engineer
PRO
0
150
2025年夏 コーディングエージェントを統べる者
nwiizo
0
170
roppongirb_20250911
igaiga
1
240
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
570
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
450
「Linux」という言葉が指すもの
sat
PRO
4
130
オブザーバビリティが広げる AIOps の世界 / The World of AIOps Expanded by Observability
aoto
PRO
0
380
会社紹介資料 / Sansan Company Profile
sansan33
PRO
6
380k
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
20250910_障害注入から効率的復旧へ_カオスエンジニアリング_生成AIで考えるAWS障害対応.pdf
sh_fk2
3
260
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
280
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
430
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Balancing Empowerment & Direction
lara
3
620
How STYLIGHT went responsive
nonsquared
100
5.8k
How to Ace a Technical Interview
jacobian
279
23k
Side Projects
sachag
455
43k
Fireside Chat
paigeccino
39
3.6k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Building Adaptive Systems
keathley
43
2.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
51
5.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
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