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
68
Three Command Line Utilities
willcodeforfoo
2
77
Enforcing Ruby Style
willcodeforfoo
0
71
Other Decks in Technology
See All in Technology
【Grafana Meetup Japan #6】Grafanaをリバプロ配下で動かすときにやること ~ Grafana Liveってなんだ ~
yoshitake945
0
360
DDD集約とサービスコンテキスト境界との関係性
pandayumi
2
270
Kubernetes における cgroup v2 でのOut-Of-Memory 問題の解決
pfn
PRO
0
460
品質視点から考える組織デザイン/Organizational Design from Quality
mii3king
0
120
Agile PBL at New Grads Trainings
kawaguti
PRO
1
320
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
240
2025年夏 コーディングエージェントを統べる者
nwiizo
0
110
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
3
850
ライブサービスゲームQAのパフォーマンス検証による品質改善の取り組み
gree_tech
PRO
0
580
AI時代に非連続な成長を実現するエンジニアリング戦略
sansantech
PRO
3
1.1k
ZOZOマッチのアーキテクチャと技術構成
zozotech
PRO
3
1.3k
おやつは300円まで!の最適化を模索してみた
techtekt
PRO
0
280
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
70
11k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
800
Bash Introduction
62gerente
615
210k
A Tale of Four Properties
chriscoyier
160
23k
Raft: Consensus for Rubyists
vanstee
140
7.1k
What's in a price? How to price your products and services
michaelherold
246
12k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Music & Morning Musume
bryan
46
6.8k
The Language of Interfaces
destraynor
161
25k
The Cult of Friendly URLs
andyhume
79
6.6k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Testing 201, or: Great Expectations
jmmastey
45
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