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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Stratos Pavlakis
June 13, 2017
Technology
1
280
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
170
Gitting like a pro - Take 2.pdf
pavlakis
0
67
4th Virtual GreeceJS - Tech News
pavlakis
0
28
3rd Virtual GreeceJS - Tech News
pavlakis
0
41
PWAs: the Application Shell & the well of surprises
pavlakis
1
200
Error Handling in Javascript
pavlakis
1
200
Async Patterns & Paradigms in Javascript
pavlakis
4
320
Introduction to FRP
pavlakis
3
230
Going Mobile
pavlakis
2
200
Other Decks in Technology
See All in Technology
ブラックボックス観測に基づくAI支援のプロトコルのリバースエンジニアリングと再現~AIを用いたリバースエンジニアリング~ @ SECCON 14 電脳会議 / Reverse Engineering and Reproduction of an AI-Assisted Protocol Based on Black-Box Observation @ SECCON 14 DENNO-KAIGI
chibiegg
0
150
モブプログラミング再入門 ー 基本から見直す、AI時代のチーム開発の選択肢 ー / A Re-introduction of Mob Programming
takaking22
1
250
組織のSREを推進するためのPlatform EngineeringとEKS / Platform Engineering and EKS to drive SRE in your organization
chmikata
0
190
LLM のプロダクト導入における開発の裏側と技術的挑戦
recruitengineers
PRO
1
120
IBM Bobを使って、PostgreSQLのToDoアプリをDb2へ変換してみよう/202603_Dojo_Bob
mayumihirano
0
180
Claude Codeの進化と各機能の活かし方
oikon48
17
7.4k
DX Improvement at Scale
ntk1000
3
320
タスク管理も1on1も、もう「管理」じゃない ― KiroとBedrock AgentCoreで変わった"判断の仕事"
yusukeshimizu
2
1.3k
Introduction to Bill One Development Engineer
sansan33
PRO
0
380
わたしがセキュアにAWSを使えるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
cmusudakeisuke
1
350
Windows ネットワークを再確認する
murachiakira
PRO
0
290
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
Featured
See All Featured
Skip the Path - Find Your Career Trail
mkilby
1
72
How to Ace a Technical Interview
jacobian
281
24k
Evolving SEO for Evolving Search Engines
ryanjones
0
150
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
The Curious Case for Waylosing
cassininazir
0
260
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
890
Code Review Best Practice
trishagee
74
20k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.4k
Technical Leadership for Architectural Decision Making
baasie
3
270
Testing 201, or: Great Expectations
jmmastey
46
8.1k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
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?