Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git productivity and tricks
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
iamjarvo
May 28, 2015
Programming
190
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git productivity and tricks
iamjarvo
May 28, 2015
More Decks by iamjarvo
See All by iamjarvo
Pry: IRB on vitamins
iamjarvo
2
140
Other Decks in Programming
See All in Programming
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
140
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
1k
一人だけ、Kiroが静止する日
hideg
0
100
自分的「カンファレンスの楽しみ方」
syumai
0
200
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
270
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
670
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
210
Heart of Swift Concurrency
koher
0
630
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
120
モデルのリファクタリングが難しいと思ったら、そもそも複雑だったのはビジネス仕様だった ? / is-the-business-domain-the-real-complexity
hatsu38
0
200
Vue Fes Japan 2026 タイムテーブル徹底解説
448jp
0
110
iOSDC Japan 2026 - Swiftで作って学ぼう!データベース自作入門
kaseken
2
160
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
How to make the Groovebox
asonas
2
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Writing Fast Ruby
sferik
630
63k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.2k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
570
Transcript
Git$Produc+vity
yolo alias yolo="git push origin HEAD -f --no-verify"
Checkout)previous)branch git checkout -
Show%diff%while%wri,ng%commit%message git commit -v
Amend&commit&with&last&message git commit --amend --no-edit
Interac(vely,add,changes git add -p !p#operates#on#tracked#files.#To#track#a#file#and#not#add#the#contents# use#!N git add . -N
spec/spec_helper.rb git add -p spec/spec_helper.rb
Remove&all&untracked&files&and&folders git clean -df
Diff$2$objects git$diff$sha1..sha2 git$diff$branch1..branch2$(use$3$dots$to$diff$from$the$common$parent)
Diff$the$staging$area git diff --cached
Undo%last%commit%without%losing%change git reset --soft HEAD~1
Searching*a*repo git grep keyboard
Searching*through*the*log git log -p -S keyboard
Git$autocorrect git config --global help.autocorrect 10
Dele$ng'a'branch <"1.7.0 git push origin :branchname >=#1.7.0 git push origin
--delete branchname
Git$checkout$with$pick • pick git checkout $(git branch | pick)
Hub$command$line$u.lity hub • install(hub • alias(git(to(hub
Examples)of)hub git clone rails/rails git pull-request git browse --issues
Subway'map git log --graph \ --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold
cyan)<%an>%Creset'\ --abbrev-commit --date=relative
Jump%to%git%root cd `git rev-parse --show-cdup || pwd`