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
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
32
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
290
Async Patterns & Paradigms in Javascript
pavlakis
4
320
Introduction to FRP
pavlakis
3
240
Going Mobile
pavlakis
2
210
Other Decks in Programming
See All in Programming
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
3
520
ネイティブアプリとWebフロントエンドのAPI通信ラッパーにおける共通化の勘所
suguruooki
0
260
仕様漏れ実装漏れをなくすトレーサビリティAI基盤のご紹介
orgachem
PRO
9
5.6k
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
710
実践CRDT
tamadeveloper
0
460
Don't Prompt Harder, Structure Better
kitasuke
0
700
10 Tips of AWS ~Gen AI on AWS~
licux
5
330
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
190
PDI: Como Alavancar Sua Carreira e Seu Negócio
marcelgsantos
0
120
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
200
PHPで TLSのプロトコルを実装してみるをもう一度しゃべりたい
higaki_program
0
190
Nuxt Server Components
wattanx
0
270
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
490
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
330
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
130
Game over? The fight for quality and originality in the time of robots
wayneb77
1
160
Making the Leap to Tech Lead
cromwellryan
135
9.8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
330
WCS-LA-2024
lcolladotor
0
530
Speed Design
sergeychernyshev
33
1.6k
Building the Perfect Custom Keyboard
takai
2
730
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