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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kevin Marsh
September 13, 2013
Technology
140
1
Share
13 git Tips for Killer Productivity
Rapid Fire Tech Talk
Kevin Marsh
September 13, 2013
More Decks by Kevin Marsh
See All by Kevin Marsh
docker
willcodeforfoo
1
360
Things I Like About Go
willcodeforfoo
1
91
Three Command Line Utilities
willcodeforfoo
2
87
Enforcing Ruby Style
willcodeforfoo
0
83
Other Decks in Technology
See All in Technology
Agentic Design Patterns
glaforge
0
250
Kaggle未経験社員をメダリストに育てる「AIドラゴン桜」
lycorptech_jp
PRO
0
650
JICUG あなたのAI駆動開発パートナー IBM Bob を使ったアプリ開発
1ftseabass
PRO
0
120
long-running-tasks
cipepser
2
430
Datadog 認定試験の概要と対策
uechishingo
0
150
イベントストーミングとKiroの仕様駆動開発で実現する要件の認識合わせプロセス
syobochim
7
900
JEP 522 Deep Dive - G1 GC同期コスト削減によるスループット向上を徹底検証&解説
tabatad
1
290
Javaコミュニティをもっと楽しむための9箇条
takasyou
0
410
電子辞書Brainをネットに繋げてみた(自力編)
raspython3
0
300
AI時代から振り返るTerraform drift運用の歴史 / AI Age Reflections on the History of Terraform Drift Operations
aeonpeople
0
570
シンデレラなんかになりたくない!ガラスの靴が割れた時代にどう歩く?
nomizone
0
220
Java正規表現エンジン(NFA)の仕組みと パフォーマンスを維持するための最適化手法
takeuchi_132917
0
140
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
200
Everyday Curiosity
cassininazir
0
210
Facilitating Awesome Meetings
lara
57
6.9k
Mind Mapping
helmedeiros
PRO
1
210
Marketing to machines
jonoalderson
1
5.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
330
エンジニアに許された特別な時間の終わり
watany
107
240k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
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