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
Stratos Pavlakis
May 26, 2021
Programming
0
59
Gitting like a pro - Take 2.pdf
From amateur to Gitting like a pro, to Gitting like a boss :)
Stratos Pavlakis
May 26, 2021
Tweet
Share
More Decks by Stratos Pavlakis
See All by Stratos Pavlakis
Intro to Remix
pavlakis
0
170
4th Virtual GreeceJS - Tech News
pavlakis
0
22
3rd Virtual GreeceJS - Tech News
pavlakis
0
25
PWAs: the Application Shell & the well of surprises
pavlakis
1
190
Error Handling in Javascript
pavlakis
1
190
Gitting like a Pro
pavlakis
1
260
Async Patterns & Paradigms in Javascript
pavlakis
4
310
Introduction to FRP
pavlakis
3
220
Going Mobile
pavlakis
2
190
Other Decks in Programming
See All in Programming
The Flutter Journey of Building a Live Streaming App — With a Side of Performance Tuning
u503
1
100
Building, Deploying, and Monitoring Ruby Web Applications with Falcon (Kaigi on Rails 2025)
ioquatix
3
1.2k
Breaking Up with Big ViewModels — Without Breaking Your Architecture (droidcon Berlin 2025)
steliosf
PRO
1
350
CSC509 Lecture 06
javiergs
PRO
0
250
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.1k
株式会社 Sun terras カンパニーデック
sunterras
0
250
Web フロントエンドエンジニアに開かれる AI Agent プロダクト開発 - Vercel AI SDK を観察して AI Agent と仲良くなろう! #FEC余熱NIGHT
izumin5210
3
450
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
180
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
170
Reduxモダナイズ 〜コードのモダン化を通して、将来のライブラリ移行に備える〜
pvcresin
2
690
Serena MCPのすすめ
wadakatu
4
920
Six and a half ridiculous things to do with Quarkus
hollycummins
0
130
Featured
See All Featured
Writing Fast Ruby
sferik
629
62k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The Cost Of JavaScript in 2023
addyosmani
53
9k
Balancing Empowerment & Direction
lara
4
680
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
19
1.2k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
GitHub's CSS Performance
jonrohan
1032
460k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
45
2.5k
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