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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daniel Libanori
June 07, 2019
Technology
54
0
Share
Git Internals II
Daniel Libanori
June 07, 2019
More Decks by Daniel Libanori
See All by Daniel Libanori
SLA 99,99 - RubyConf 2022
dlibanori
0
81
Feature Toggles e suas categorias
dlibanori
0
110
PostgreSQL MVCC Internals
dlibanori
1
93
OWASP: O que ler
dlibanori
0
24
Git Internals I
dlibanori
0
30
Introdução ao systemd
dlibanori
0
170
The Evils of Duplication
dlibanori
3
110
Other Decks in Technology
See All in Technology
Tachikawa.any 運営挨拶
daitasu
0
180
ワールドカフェ再び、そしてゴール・ルール・ロール・ツール / World Café Revisited, and the Goals-Rules-Roles-Tools
ks91
PRO
0
170
オライリーイベント登壇資料「鉄リサイクル・産廃業界におけるAI技術実応用のカタチ」
takarasawa_
0
410
サイボウズ、プラットフォームエンジニアリング始めるってよ ― プラットフォームチームの事業貢献と組織アラインメントの強化
ueokande
0
110
(きっとたぶん)人材育成や教育のような何かの話
sejima
0
750
20260515 OpenIDファウンデーション・ジャパンご紹介
oidfj
0
120
クラウドネイティブ DB はいかにして制約を 克服したか? 〜進化歴史から紐解く、スケーラブルアーキテクチャ設計指針〜
hacomono
PRO
6
1k
Databricks 月刊サービスアップデートまとめ 2026年04月号
tyosi1212
0
130
生成AI時代に信頼性をどう保ち続けるか - Policy as Code の実践
akitok_
1
430
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
4
180
今だから言える(?) Q Developer Pro のクレジットが神ってた話
mu7889yoon
0
100
AI全盛の今だからこそ、あえてもう一度振り返るAPIの基礎
smt7174
1
110
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
3
350
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
Deep Space Network (abreviated)
tonyrice
0
140
First, design no harm
axbom
PRO
2
1.2k
Being A Developer After 40
akosma
91
590k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Agile that works and the tools we love
rasmusluckow
331
21k
A Tale of Four Properties
chriscoyier
163
24k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
The MySQL Ecosystem @ GitHub 2015
samlambert
251
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