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
130
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
350
Things I Like About Go
willcodeforfoo
1
63
Three Command Line Utilities
willcodeforfoo
2
68
Enforcing Ruby Style
willcodeforfoo
0
61
Other Decks in Technology
See All in Technology
技術に触れたり、顔を出そう
maruto
1
150
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
3
850
EMConf JP の楽しみ方 / How to enjoy EMConf JP
pauli
2
150
Reactフレームワークプロダクトを モバイルアプリにして、もっと便利に。 ユーザに価値を届けよう。/React Framework with Capacitor
rdlabo
0
130
20250116_JAWS_Osaka
takuyay0ne
2
200
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
54k
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
コロプラのオンボーディングを採用から語りたい
colopl
5
1.3k
JuliaTokaiとJuliaLangJaの紹介 for NGK2025S
antimon2
1
120
いま現場PMのあなたが、 経営と向き合うPMになるために 必要なこと、腹をくくること
hiro93n
9
7.7k
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Agile that works and the tools we love
rasmusluckow
328
21k
Being A Developer After 40
akosma
89
590k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Side Projects
sachag
452
42k
Done Done
chrislema
182
16k
Designing for humans not robots
tammielis
250
25k
Designing for Performance
lara
604
68k
Gamification - CAS2011
davidbonilla
80
5.1k
Optimising Largest Contentful Paint
csswizardry
33
3k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
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