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
43
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
150
4th Virtual GreeceJS - Tech News
pavlakis
0
12
3rd Virtual GreeceJS - Tech News
pavlakis
0
14
PWAs: the Application Shell & the well of surprises
pavlakis
1
180
Error Handling in Javascript
pavlakis
1
180
Gitting like a Pro
pavlakis
1
230
Async Patterns & Paradigms in Javascript
pavlakis
4
290
Introduction to FRP
pavlakis
3
200
Going Mobile
pavlakis
2
180
Other Decks in Programming
See All in Programming
さきがけから振り返るアーキテクチャ刷新 / Reflecting on the Architectural Renewal from the Vanguard
nrslib
2
780
AWSでゲームサーバーを運用! Amazon GameLiftのお話
iriikeita
0
200
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
81k
リハビリmruby
kishima
1
160
MIERUNE BBQにおけるユーザー中心設計()
mierune
PRO
1
110
CSC307 Lecture 08
javiergs
PRO
0
330
유연한 Composable 설계
l2hyunwoo
0
380
ピグパーティにおけるMongoDB CommunityバージョンからAtlasへの移行事例
10969hotaka
0
130
feature環境をGitHub ActionsとCloudFormationでいい感じに管理する
nealle
2
310
Temporalを取り巻く仕様を整理する
sajikix
0
120
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
CSC307 Lecture 10
javiergs
PRO
0
310
Featured
See All Featured
Unsuck your backbone
ammeep
666
57k
Creatively Recalculating Your Daily Design Routine
revolveconf
214
11k
The Mythical Team-Month
searls
217
43k
A Philosophy of Restraint
colly
200
16k
Art, The Web, and Tiny UX
lynnandtonic
291
20k
[RailsConf 2023] Rails as a piece of cake
palkan
35
4.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
42
2.7k
Git: the NoSQL Database
bkeepers
PRO
423
64k
YesSQL, Process and Tooling at Scale
rocio
166
14k
Code Reviewing Like a Champion
maltzj
517
39k
The Straight Up "How To Draw Better" Workshop
denniskardys
229
130k
The MySQL Ecosystem @ GitHub 2015
samlambert
248
12k
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