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
ソフトウェアテスト徹底指南書の紹介
goyoki
1
150
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
22
11k
Zendeskのチケットを Amazon Bedrockで 解析した
ryokosuge
3
290
機能追加とリーダー業務の類似性
rinchoku
2
1.2k
はじめてのMaterial3 Expressive
ym223
2
240
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
480
Azure SRE Agentで運用は楽になるのか?
kkamegawa
0
1.9k
さようなら Date。 ようこそTemporal! 3年間先行利用して得られた知見の共有
8beeeaaat
3
1.4k
How Android Uses Data Structures Behind The Scenes
l2hyunwoo
0
390
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
380
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
120
Featured
See All Featured
Gamification - CAS2011
davidbonilla
81
5.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Speed Design
sergeychernyshev
32
1.1k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Context Engineering - Making Every Token Count
addyosmani
1
28
GraphQLとの向き合い方2022年版
quramy
49
14k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
Being A Developer After 40
akosma
90
590k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
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