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
67
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
28
3rd Virtual GreeceJS - Tech News
pavlakis
0
41
PWAs: the Application Shell & the well of surprises
pavlakis
1
200
Error Handling in Javascript
pavlakis
1
200
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
200
Other Decks in Programming
See All in Programming
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
680
エージェント開発初心者の僕がエージェントを作った話と今後やりたいこと
thasu0123
0
230
Codex の「自走力」を高める
yorifuji
0
950
RAGでハマりがちな"Excelの罠"を、データの構造化で突破する
harumiweb
9
2.6k
浮動小数の比較について
kishikawakatsumi
0
380
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
240
Ruby x Terminal
a_matsuda
7
590
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
210
API Platformを活用したPHPによる本格的なWeb API開発 / api-platform-book-intro
ttskch
1
120
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
960
Windows on Ryzen and I
seosoft
0
190
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1k
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
460
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
170
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
So, you think you're a good person
axbom
PRO
2
1.9k
WENDY [Excerpt]
tessaabrams
9
36k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Balancing Empowerment & Direction
lara
5
930
Ruling the World: When Life Gets Gamed
codingconduct
0
160
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
210
Building a Scalable Design System with Sketch
lauravandoore
463
34k
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