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
13 git Tips for Killer Productivity
Search
Kevin Marsh
September 13, 2013
Technology
1
140
13 git Tips for Killer Productivity
Rapid Fire Tech Talk
Kevin Marsh
September 13, 2013
Tweet
Share
More Decks by Kevin Marsh
See All by Kevin Marsh
docker
willcodeforfoo
1
360
Things I Like About Go
willcodeforfoo
1
79
Three Command Line Utilities
willcodeforfoo
2
79
Enforcing Ruby Style
willcodeforfoo
0
78
Other Decks in Technology
See All in Technology
純粋なイミュータブルモデルを設計してからイベントソーシングと組み合わせるDeciderの実践方法の紹介 /Introducing Decider Pattern with Event Sourcing
tomohisa
1
980
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
330
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.5k
田舎で20年スクラム(後編):一個人が企業で長期戦アジャイルに挑む意味
chinmo
1
1.4k
Models vs Bounded Contexts for Domain Modularizati...
ewolff
0
160
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
320
歴史から学ぶ、Goのメモリ管理基礎
logica0419
14
2.7k
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
160
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
180
Qiita Bash アドカレ LT #1
okaru
0
190
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
2
870
Featured
See All Featured
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
97
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Believing is Seeing
oripsolob
1
29
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
180
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
120
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
1
350
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
140
Navigating Weather and Climate Data
rabernat
0
68
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
75
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
100
Transcript
13 git Tips for killer Productivity
Checkout previous branch Quickly toggle between two branches
Number of commits per author See which of your coworkers
are the best
git wtf [alias] wtf = "!f() { git blame --line-porcelain
$1 | sed -n 's/^author //p' | sort | uniq -c | sort -rn; }; f" “Who The File?” aka Who should I talk to about this?
Show branch name in shell prompt
rerere: Reuse Recorded Resolution Remembers how you resolve a merge
conflict
Stage commits interactively Make your commit about one thing
Show a different version of a file From a different
branch, supports autocomplete
Show diff when writing commit message
Show diff when writing commit message
tig: “Graphical” git browser
More concise git status
Search commits by diff Useful for finding variables, use -G
for regular expression
Undo last commit Puts changes back in index
Show changes to a file