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
34
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
60
Feature Toggles e suas categorias
dlibanori
0
78
PostgreSQL MVCC Internals
dlibanori
1
79
OWASP: O que ler
dlibanori
0
16
Git Internals I
dlibanori
0
21
Introdução ao systemd
dlibanori
0
130
The Evils of Duplication
dlibanori
3
110
Other Decks in Technology
See All in Technology
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
140
本当のAWS基礎
toru_kubota
0
520
LLM開発・活用の舞台裏@2024.04.25
yushin_n
1
230
Databricks における 『MLOps』
databricksjapan
2
170
Meta Quest 3 で動く桜マシマシ WebXR アプリを IBM Cloud Code Engine と Babylon.js で作った話
1ftseabass
PRO
0
120
開発パフォーマンスを最大化するための開発体制
ham0215
2
410
FrontDoorとWebAppsを組み合わせた際のリダイレクト処理の注意点
kenichirokimura
1
520
VSCodeの拡張機能を作っている話
ebarakazuhiro
1
400
web-application-security
matsuihidetoshi
0
170
開発生産性大幅アップ!Postman VS Code拡張機能
nagix
2
380
ServiceNow Knowledge Learning Rise up
manarobot
0
210
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
250
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Scaling GitHub
holman
457
140k
Building Effective Engineering Teams - LeadDev
addyosmani
28
1.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
The World Runs on Bad Software
bkeepers
PRO
61
6.7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
What’s in a name? Adding method to the madness
productmarketing
PRO
16
2.6k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
17
1.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
19
1.7k
We Have a Design System, Now What?
morganepeng
43
6.8k
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