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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
180
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
770
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
380
Simple Storage Service(S3) is not simple
iwatsukayura
0
260
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
370
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
8
5.7k
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
580
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.8k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Balancing Empowerment & Direction
lara
6
1.3k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
450
Skip the Path - Find Your Career Trail
mkilby
1
250
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Building an army of robots
kneath
307
47k
Producing Creativity
orderedlist
PRO
348
41k
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`