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
220
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
43
4th Virtual GreeceJS - Tech News
pavlakis
0
12
3rd Virtual GreeceJS - Tech News
pavlakis
0
14
PWAs: the Application Shell & the well of surprises
pavlakis
1
170
Error Handling in Javascript
pavlakis
1
180
Async Patterns & Paradigms in Javascript
pavlakis
4
290
Introduction to FRP
pavlakis
3
200
Going Mobile
pavlakis
2
180
Other Decks in Technology
See All in Technology
[JSAI24] Attention Lattice Adapter: Visual Explanation for Vision-Language Foundation Models
keio_smilab
PRO
0
130
Go初心者が開発やってみた!
azunyan
1
370
Evolutionary Architecture - Discovering Boundaries @DevTalks 24
victorrentea
1
260
APIライフサイクル管理とAI Gateway
hashitokyo
2
180
Microsoft クラウド サービスのコスト管理
murachiakira
0
120
SREがいない”今いる場所”で 「SRE」について聞いて、考えてみた
maimyyym
1
210
TCPポート使い切り事件
motooka
1
120
온디바이스 AI 및 로컬 AI의 도전 과제 / Challenges of On-Device AI and Local AI
inureyes
PRO
0
780
Nuxt DevTools 101
nozomuikuta
3
330
Building Static Websites with Sculpin
opdavies
0
1.3k
UFACTORY Lite 6用リーダーフォロワーシステムの作成
hygradme
0
120
Improve developer experience with Spring Interface Clients Spring I/O 2024
olgamaciaszek
0
110
Featured
See All Featured
Fontdeck: Realign not Redesign
paulrobertlloyd
77
5k
A Philosophy of Restraint
colly
197
16k
Designing the Hi-DPI Web
ddemaree
276
33k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
24
1.7k
The Art of Programming - Codeland 2020
erikaheidi
43
12k
Six Lessons from altMBA
skipperchong
22
3.1k
How STYLIGHT went responsive
nonsquared
92
4.9k
GraphQLとの向き合い方2022年版
quramy
33
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
21
2k
Learning to Love Humans: Emotional Interface Design
aarron
268
39k
How to train your dragon (web standard)
notwaldorf
76
5.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?