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
Stratos Pavlakis
June 13, 2017
Technology
290
1
Share
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
170
Gitting like a pro - Take 2.pdf
pavlakis
0
70
4th Virtual GreeceJS - Tech News
pavlakis
0
33
3rd Virtual GreeceJS - Tech News
pavlakis
0
44
PWAs: the Application Shell & the well of surprises
pavlakis
1
210
Error Handling in Javascript
pavlakis
1
210
Async Patterns & Paradigms in Javascript
pavlakis
4
320
Introduction to FRP
pavlakis
3
240
Going Mobile
pavlakis
2
210
Other Decks in Technology
See All in Technology
Bill One 開発エンジニア 紹介資料
sansan33
PRO
6
18k
AgentCore×VPCでの設計パターンn選と勘所
har1101
3
250
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
7k
EBS暗号化に失敗してEC2が動かなくなった話
hamaguchimmm
2
180
マルチプロダクトの信頼性を効率良く保っていくために
kworkdev
PRO
0
140
Azure Static Web Apps の自動ビルドがタイムアウトしやすくなった状況に対応した件/global-azure2026
thara0402
0
370
「責任あるAIエージェント」こそ自社で開発しよう!
minorun365
9
1.8k
最新の脅威動向から考える、コンテナサプライチェーンのリスクと対策
kyohmizu
1
680
AI時代にデータ基盤が持つべきCapabilityを考える + Snowflake Data Superheroやっていき宣言 / Considering the Capabilities Data Platforms Should Have in the AI Era + Declaration of Commitment as a Snowflake Data Superhero
civitaspo
0
120
Revisiting [CLS] and Patch Token Interaction in Vision Transformers
yu4u
0
340
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
280
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
840
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
515
110k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
HDC tutorial
michielstock
2
620
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
520
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
250
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
180
Design in an AI World
tapps
0
190
The Spectacular Lies of Maps
axbom
PRO
1
700
For a Future-Friendly Web
brad_frost
183
10k
The agentic SEO stack - context over prompts
schlessera
0
740
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?