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
48
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
160
4th Virtual GreeceJS - Tech News
pavlakis
0
16
3rd Virtual GreeceJS - Tech News
pavlakis
0
20
PWAs: the Application Shell & the well of surprises
pavlakis
1
190
Error Handling in Javascript
pavlakis
1
180
Gitting like a Pro
pavlakis
1
240
Async Patterns & Paradigms in Javascript
pavlakis
4
300
Introduction to FRP
pavlakis
3
210
Going Mobile
pavlakis
2
180
Other Decks in Programming
See All in Programming
Ruby で作る RISC-V CPU エミュレーター / RISC-V CPU emulator made with Ruby
hayaokimura
5
940
Road to Ruby for A Linguistics Nerd
hayat01sh1da
PRO
0
110
20250429 - CNTUG Meetup #67 / DevOps Taiwan Meetup #69 - Deep Dive into Tetragon: Building Runtime Security and Observability with eBPF
tico88612
0
170
Optimizing JRuby 10
headius
0
580
開発者フレンドリーで顧客も満足?Platformの秘密
algoartis
0
200
データと事例で振り返るDevin導入の"リアル" / The Realities of Devin Reflected in Data and Case Studies
rkaga
1
550
fieldalignmentから見るGoの構造体
kuro_kurorrr
0
130
Lambda(Python)の リファクタリングが好きなんです
komakichi
5
260
オープンソースコントリビュート入門
_katsuma
0
130
Browser and UI #2 HTML/ARIA
ken7253
2
170
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
830
ぽちぽち選択するだけでOSSを読めるVSCode拡張機能
ymbigo
13
6k
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
7
420
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
The Cult of Friendly URLs
andyhume
78
6.3k
GraphQLの誤解/rethinking-graphql
sonatard
71
10k
Gamification - CAS2011
davidbonilla
81
5.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
780
The Cost Of JavaScript in 2023
addyosmani
49
7.8k
How to Ace a Technical Interview
jacobian
276
23k
We Have a Design System, Now What?
morganepeng
52
7.6k
Music & Morning Musume
bryan
47
6.5k
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