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
Gitting like a pro - Take 2.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Stratos Pavlakis
May 26, 2021
Programming
70
0
Share
Gitting like a pro - Take 2.pdf
From amateur to Gitting like a pro, to Gitting like a boss :)
Stratos Pavlakis
May 26, 2021
More Decks by Stratos Pavlakis
See All by Stratos Pavlakis
Intro to Remix
pavlakis
0
170
4th Virtual GreeceJS - Tech News
pavlakis
0
31
3rd Virtual GreeceJS - Tech News
pavlakis
0
44
PWAs: the Application Shell & the well of surprises
pavlakis
1
200
Error Handling in Javascript
pavlakis
1
210
Gitting like a Pro
pavlakis
1
280
Async Patterns & Paradigms in Javascript
pavlakis
4
320
Introduction to FRP
pavlakis
3
230
Going Mobile
pavlakis
2
210
Other Decks in Programming
See All in Programming
OTP を自動で入力する裏技
megabitsenmzq
0
130
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
290
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
720
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1.2k
どんと来い、データベース信頼性エンジニアリング / Introduction to DBRE
nnaka2992
1
350
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
180
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
420
Feature Toggle は捨てやすく使おう
gennei
0
390
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.2k
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
700
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
1.2k
Understanding Apache Lucene - More than just full-text search
spinscale
0
150
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Navigating Team Friction
lara
192
16k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
170
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
510
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
Building an army of robots
kneath
306
46k
Paper Plane (Part 1)
katiecoart
PRO
0
6.2k
Odyssey Design
rkendrick25
PRO
2
560
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Transcript
GITTING LIKE A PRO Git recipes for healthier coding Take
2
Who is this guy? Stratos Pavlakis Head of engineering @Blueground
https://github.com/th3hunt https://twitter.com/th3hunt
why should I master Git?
The basics • Install Git • Install Git autocomplete •
Con fi gure username & email • Con fi gure editor • Con fi gure rerere • Con fi gure aliases
The internals • Git is an object database • Blobs,
Trees, Commits • SHA-1 • Working directory • Index (formerly cache) • Con fi gure aliases
Git like a pro • The conventional commit • The
linear history • One fl ow branching model
Git like a pro • git branch -r | -l
• git add -p • git commit -m • git commit —amend • git log • git log —stat • git log -p • git log —follow • git log —graph —short • git log foo..bar • git re fl og —relative-date • git push • git push —force-with-lease • git rm —cached • git clean • git show • git di ff • git di ff —cached • git di ff —color-moved • git di ff and git apply • git con fi g --global di ff .colormoved default • git stash • git stash —keep-index • git fi xup • git rebase —autosquash • git rebase —onto • git rerere • git revert • git gui • gh pr • gh repo
Git like a boss • git grep # for where
• git log —source -S # for when • git bisect # to fi nd the culprit • git worktree # for pomodoro haters • git notes • grip • delta
Git wicked • git fi lter-repo • git fi lter-branch
• git replace
Release manager merging a long lived feature branch Oil on
canvas - 2015
Resources • Git internals • The conventional commit log •
One fl ow • git-delta • fi xup and autosquash • th3hunt’s git aliases