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
ABEMAにおける 生成AI活用の現在地 / The Current Status of Generative AI at ABEMA
dekatotoro
0
560
[CV勉強会@関東 CVPR2025 読み会] MegaSaM: Accurate, Fast, and Robust Structure and Motion from Casual Dynamic Videos (Li+, CVPR2025)
abemii
0
170
Observability for LLM Application lifecycle
ivry_presentationmaterials
1
190
夏休みWebアプリパフォーマンス相談室/web-app-performance-on-radio
hachi_eiji
1
280
工業高校で学習したとあるエンジニアのキャリアの話
shirayanagiryuji
0
130
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.4k
GISエンジニアよ 現場に行け!
sudataka
1
140
プロジェクトマネジメントは不確実性との対話だ
hisashiwatanabe
0
180
形式手法特論:位相空間としての並行プログラミング #kernelvm / Kernel VM Study Tokyo 18th
ytaka23
3
1.6k
いかにして命令の入れ替わりについて心配するのをやめ、メモリモデルを愛するようになったか(改)
nullpo_head
7
2.8k
なごミュ@SPAJAM2025 第二回予選
1901drama
0
110
生成AIによるソフトウェア開発の収束地点 - Hack Fes 2025
vaaaaanquish
35
16k
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
810
Optimising Largest Contentful Paint
csswizardry
37
3.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Music & Morning Musume
bryan
46
6.7k
A Tale of Four Properties
chriscoyier
160
23k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Navigating Team Friction
lara
188
15k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
The Pragmatic Product Professional
lauravandoore
36
6.8k
GitHub's CSS Performance
jonrohan
1031
460k
4 Signs Your Business is Dying
shpigford
184
22k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.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