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
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Stratos Pavlakis
June 13, 2017
Technology
300
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Gitting like a Pro
Git recipes for healthier coding
Stratos Pavlakis
June 13, 2017
More Decks by Stratos Pavlakis
See All by Stratos Pavlakis
Intro to Remix
pavlakis
0
190
Gitting like a pro - Take 2.pdf
pavlakis
0
76
4th Virtual GreeceJS - Tech News
pavlakis
0
41
3rd Virtual GreeceJS - Tech News
pavlakis
0
51
PWAs: the Application Shell & the well of surprises
pavlakis
1
220
Error Handling in Javascript
pavlakis
1
230
Async Patterns & Paradigms in Javascript
pavlakis
4
330
Introduction to FRP
pavlakis
3
260
Going Mobile
pavlakis
2
220
Other Decks in Technology
See All in Technology
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
420
OpenID for Verifiable Credentials 実装から見えた相互運用性確保までの道のり(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
290
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
720
あなたの知らないバージョン命名規則
sat
PRO
2
780
AI駆動開発はどこまで来たのか? ファインディの最新実態調査で読み解く現在地 Devin Con Tokyo
akiratom
2
1.2k
Windows の互換機能 - 古いプログラムはなぜ動作できるのか
murachiakira
PRO
0
110
NANDでも描画したい!
nichica906
3
730
「ミスを許さない手順書」を作ってみた 〜 個人的にはこれ以上できることはあまりなさそう/20260827-ssmjp-operation-procedure-update
opelab
4
1.6k
MCPを待つな、パスキーを拡げよう(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
280
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
20k
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
910
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
5k
Featured
See All Featured
BBQ
matthewcrist
89
10k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
400
Joys of Absence: A Defence of Solitary Play
codingconduct
1
450
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
310
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
41k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
400
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
380
Why Our Code Smells
bkeepers
PRO
340
58k
YesSQL, Process and Tooling at Scale
rocio
174
15k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
480
Transcript
GITTING LIKE A PRO git recipes for healthier coding
Stratos Pavlakis UI Tech Lead @ Workable https://github.com/th3hunt https://twitter.com/th3hunt who
is this guy?
Developers agreeing on Git work ow Jacques-Louis David, 1796-1799 Oil
on Canvas
No need for such drama - Git knowledgeable developer
Git Anatomy
$ ls -F1 .git HEAD config description hooks/ info/ objects/
refs/
Now the secret to make the most out of a
tool is ...
to make it accessible!
con guration
# do some less typing git config --global alias.co checkout
git config --global alias.st status # shell out if needed la=!git config -l | grep alias | cut -c 7- # style your output log --graph \ --pretty=format':%C(yellow)%h%C(auto)%d%Creset %Creset%s %C(242)<%an>%Creset'
Git Recipes
KEEP A READABLE HISTORY REBASE don't merge Fixup Autosquash
Programmer nds 1395 con icts after ‘git rebase develop’ 3
days before the deadline Gustav Courbet, 1844–1845 Oil paint
ESCAPE GROUNDHOG DAY AND KEEP YOUR SANITY git rerere WTF
dude? no really... git rerere
FIND THE NEEDLE IN THE HAYSTACK bisect bisect on autopilot
JUMP BETWEEN BRANCHES LIKE A PRO git worktree add
REVERT A BRANCH Find the mainline parent (X) git cat-
le -p <merge-commit> Revert the merge commit git revert -m X <merge-commit>
HARDCORE MAGIC lter_branch replace
Thank you! Questions?