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
Git productivity and tricks
Search
iamjarvo
May 28, 2015
Programming
2
180
Git productivity and tricks
iamjarvo
May 28, 2015
Tweet
Share
More Decks by iamjarvo
See All by iamjarvo
Pry: IRB on vitamins
iamjarvo
2
130
Other Decks in Programming
See All in Programming
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
180
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.3k
AIエージェントの設計で注意するべきポイント6選
har1101
6
3.1k
DevFest Android in Korea 2025 - 개발자 커뮤니티를 통해 얻는 가치
wisemuji
0
180
Cap'n Webについて
yusukebe
0
160
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
3.4k
組み合わせ爆発にのまれない - 責務分割 x テスト
halhorn
1
190
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
130
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
120
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
400
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
720
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
470
Featured
See All Featured
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
220
GraphQLの誤解/rethinking-graphql
sonatard
74
11k
Paper Plane (Part 1)
katiecoart
PRO
0
3.1k
A better future with KSS
kneath
240
18k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
430
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
240
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
330
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
400
Docker and Python
trallard
47
3.7k
Six Lessons from altMBA
skipperchong
29
4.1k
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`