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
1
240
Gitting like a Pro
Git recipes for healthier coding
Stratos Pavlakis
June 13, 2017
Tweet
Share
More Decks by Stratos Pavlakis
See All by Stratos Pavlakis
Intro to Remix
pavlakis
0
150
Gitting like a pro - Take 2.pdf
pavlakis
0
46
4th Virtual GreeceJS - Tech News
pavlakis
0
14
3rd Virtual GreeceJS - Tech News
pavlakis
0
19
PWAs: the Application Shell & the well of surprises
pavlakis
1
180
Error Handling in Javascript
pavlakis
1
180
Async Patterns & Paradigms in Javascript
pavlakis
4
300
Introduction to FRP
pavlakis
3
210
Going Mobile
pavlakis
2
180
Other Decks in Technology
See All in Technology
ホワイトボードチャレンジ 説明&実行資料
ichimichi
0
120
開発組織のための セキュアコーディング研修の始め方
flatt_security
3
1.4k
明日からできる!技術的負債の返済を加速するための実践ガイド~『ホットペッパービューティー』の事例をもとに~
recruitengineers
PRO
3
290
Postmanを使いこなす!2025年ぜひとも押さえておきたいPostmanの10の機能
nagix
2
140
7日間でハッキングをはじめる本をはじめてみませんか?_ITエンジニア本大賞2025
nomizone
2
1.7k
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
7k
飲食店予約台帳を支えるインタラクティブ UI 設計と実装
siropaca
7
1.6k
Datadog APM におけるトレース収集の流れ及び Retention Filters のはなし / datadog-apm-trace-retention-filters
k6s4i53rx
0
330
君も受託系GISエンジニアにならないか
sudataka
2
410
2024.02.19 W&B AIエージェントLT会 / AIエージェントが業務を代行するための計画と実行 / Algomatic 宮脇
smiyawaki0820
10
1.5k
Swiftの “private” を テストする / Testing Swift "private"
yutailang0119
0
120
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
75
5.5k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Documentation Writing (for coders)
carmenintech
67
4.6k
A Philosophy of Restraint
colly
203
16k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
174
51k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Optimising Largest Contentful Paint
csswizardry
34
3.1k
Bash Introduction
62gerente
610
210k
Fireside Chat
paigeccino
34
3.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
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?