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
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
590
Git Sync を超える!OSS で実現する CDK Pull 型デプロイ / Deploying CDK with PipeCD in Pull-style
tkikuc
4
480
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
800
構造化・自動化・ガードレール - Vibe Coding実践記 -
tonegawa07
0
160
MCPを使ってイベントソーシングのAIコーディングを効率化する / Streamlining Event Sourcing AI Coding with MCP
tomohisa
0
190
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
2
1.4k
Quality Gates in the Age of Agentic Coding
helmedeiros
PRO
1
110
The Modern View Layer Rails Deserves: A Vision For 2025 And Beyond @ RailsConf 2025, Philadelphia, PA
marcoroth
2
830
AIのメモリー
watany
11
1.1k
11年かかって やっとVibe Codingに 時代が追いつきましたね
yimajo
0
220
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
4
720
顧客の画像データをテラバイト単位で配信する 画像サーバを WebP にした際に起こった課題と その対応策 ~継続的な取り組みを添えて~
takutakahashi
4
1.4k
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
720
Faster Mobile Websites
deanohume
308
31k
Code Review Best Practice
trishagee
69
19k
Facilitating Awesome Meetings
lara
54
6.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Gamification - CAS2011
davidbonilla
81
5.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Six Lessons from altMBA
skipperchong
28
3.9k
The Invisible Side of Design
smashingmag
301
51k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
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