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
120
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
340
Things I Like About Go
willcodeforfoo
1
60
Three Command Line Utilities
willcodeforfoo
2
68
Enforcing Ruby Style
willcodeforfoo
0
61
Other Decks in Technology
See All in Technology
来年もre:Invent2024 に行きたいあなたへ - “集中”と“つながり”で楽しむ -
ny7760
0
450
Java x Spring Boot Warm up
kazu_kichi_67
2
490
APIテスト自動化の勘所
yokawasa
7
4.1k
Product Engineer Night #6プロダクトエンジニアを育む仕組み・施策
hacomono
PRO
1
460
ガバメントクラウド単独利用方式におけるIaC活用
techniczna
3
260
Autify Company Deck
autifyhq
1
39k
ネット広告に未来はあるか?「3rd Party Cookie廃止とPrivacy Sandboxの効果検証の裏側」 / third-party-cookie-privacy
cyberagentdevelopers
PRO
1
120
わたしとトラックポイント / TrackPoint tips
masahirokawahara
1
240
【技術書典17】OpenFOAM(自宅で極める流体解析)2次元円柱まわりの流れ
kamakiri1225
0
210
Emacs x Nostr
hakkadaikon
1
150
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
9
120k
pandasはPolarsに性能面で追いつき追い越せるのか
vaaaaanquish
4
4.3k
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
327
21k
What's in a price? How to price your products and services
michaelherold
243
12k
Practical Orchestrator
shlominoach
186
10k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Six Lessons from altMBA
skipperchong
26
3.5k
Statistics for Hackers
jakevdp
796
220k
Done Done
chrislema
181
16k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
A Modern Web Designer's Workflow
chriscoyier
692
190k
A designer walks into a library…
pauljervisheath
202
24k
Building Applications with DynamoDB
mza
90
6.1k
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