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
72
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
180
4th Virtual GreeceJS - Tech News
pavlakis
0
36
3rd Virtual GreeceJS - Tech News
pavlakis
0
49
PWAs: the Application Shell & the well of surprises
pavlakis
1
220
Error Handling in Javascript
pavlakis
1
220
Gitting like a Pro
pavlakis
1
290
Async Patterns & Paradigms in Javascript
pavlakis
4
330
Introduction to FRP
pavlakis
3
250
Going Mobile
pavlakis
2
220
Other Decks in Programming
See All in Programming
ふつうのFeature Flag実践入門
irof
7
3.4k
3Dシーンの圧縮
fadis
1
540
JavaDoc 再入門
nagise
0
220
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.5k
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
180
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
130
今さら聞けないCancellationToken
htkym
0
210
Lemonade + Foundry Toolkit でお手軽アプリ開発
seosoft
1
250
AIとRubyの静的型付け
ukin0k0
0
480
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
1.8k
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
250
Featured
See All Featured
Everyday Curiosity
cassininazir
0
220
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Amusing Abliteration
ianozsvald
1
190
Measuring & Analyzing Core Web Vitals
bluesmoon
9
850
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Being A Developer After 40
akosma
91
590k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
210
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
240
Evolving SEO for Evolving Search Engines
ryanjones
0
210
ラッコキーワード サービス紹介資料
rakko
1
3.5M
Testing 201, or: Great Expectations
jmmastey
46
8.2k
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