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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
ソフトウェアサプライチェーンの構造的リスクとコンテナ環境の保護
kyohmizu
5
900
コミュニティから始まった農業IoTとの7年間 ——人との関わりが教えてくれたこと
peacemaker07
0
100
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
160
DDDのエッセンスを取り入れたAIでの開発
ak2ie
1
220
Knowledge Catalog を活用したメタデータ自動付与パイプライン構築
supership
0
130
【CEDEC2026】Creative Approaches to Localizing the Dialects and Unique Speech of Umamusume: Pretty Derby Characters in English
cygames
PRO
4
26k
AIに持続⼒を与える 判断の⻑期記憶設計
eiei114
1
690
【Aiming】共通基盤なのに「共通化しない」課金・認証基盤「LINK」が選び取ったシングルテナント戦略と運用の秘訣
saikeda
0
180
Claude Teamプランの コスト最適化を考える
rfdnxbro
0
130
AIに狂うスタートアップが、あえて「人との協働」に全振りした新卒エンジニア研修 / New Graduate Engineer Training at a Startup Accelerating AI Adoption
ohnoeight
0
200
AIペネトレーションテスト・ セキュリティ検証「AgenticSec」紹介資料
laysakura
2
9.4k
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
920
Featured
See All Featured
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
480
Designing for Timeless Needs
cassininazir
1
450
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
520
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
420
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Tell your own story through comics
letsgokoyo
1
1k
The Curse of the Amulet
leimatthew05
2
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
It's Worth the Effort
3n
188
29k
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?