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
Speedy Git
Search
Paul McGrath
June 10, 2017
Programming
1
74
Speedy Git
How to increase the speed from brain to/from git
Paul McGrath
June 10, 2017
Tweet
Share
More Decks by Paul McGrath
See All by Paul McGrath
Docker101 Workshop
paulmcgrath
2
100
What can I do with that Raspberry Pi?
paulmcgrath
0
55
Untrusted Data: SQL injection and XSS
paulmcgrath
0
62
Faster Software Delivery - Dan North
paulmcgrath
1
67
Design Patterns Club
paulmcgrath
0
70
Other Decks in Programming
See All in Programming
AkarengaLT vol.38
hashimoto_kei
1
130
Kotlin 2.2が切り拓く: コンテキストパラメータで書く関数型DSLと新しい依存管理のかたち
knih
0
240
Dive into Triton Internals
appleparan
0
400
Designing Repeatable Edits: The Architecture of . in Vim
satorunooshie
0
220
AI駆動開発カンファレンスAutumn2025 _AI駆動開発にはAI駆動品質保証
autifyhq
0
110
Reactive Thinking with Signals and the Resource API
manfredsteyer
PRO
0
120
オンデバイスAIとXcode
ryodeveloper
0
370
AIのバカさ加減に怒る前にやっておくこと
blueeventhorizon
0
140
TransformerからMCPまで(現代AIを理解するための羅針盤)
mickey_kubo
7
5.9k
ビルドプロセスをデバッグしよう!
yt8492
0
210
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
250
CSC305 Lecture 14
javiergs
PRO
0
190
Featured
See All Featured
Building Adaptive Systems
keathley
44
2.8k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Why You Should Never Use an ORM
jnunemaker
PRO
60
9.6k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
The Pragmatic Product Professional
lauravandoore
36
7k
Visualization
eitanlees
150
16k
Side Projects
sachag
455
43k
Producing Creativity
orderedlist
PRO
348
40k
Navigating Team Friction
lara
190
15k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
How to train your dragon (web standard)
notwaldorf
97
6.3k
Six Lessons from altMBA
skipperchong
29
4k
Transcript
Speedy Git Paul McGrath
Contents Speedy Input Speedy Visualisation Speedy Workflow
Speedy Commands git push master~2:master git pull –rebase
(git fetch origin, git rebase origin/master)
Speedy Commands Interactive rebase (rebase –i)
Speedy Aliases (.gitconfig)
Using your favourite text editor In ~/.bashrc and ~/bin
My editor is much easier to use for interactive rebase, commit –amend etc. Share your setup – it’s all config files
Console 2
Use your favourite log viewer ~/.bashrc:
mergetool, difftool setup
IF you have these problems… Features tied together
Can’t unpick the log Branching from untested code Your product is the sum of independent features Features can be easily removed You have a safe point to branch from
Git workflow Git docs: Branching strategy ( http://git-scm.com/book/en/v2/Git-Branch ing-Branching-Workflows
)
Not like this…
Create a safe branching point http:// scottchacon.com/2011/08/31/github-flow.html git
merge develop Keep it as light-weight as possible …Yeah, but what about conflicts? DEVELOP MASTER MY LOVELY FEATURE
Speedy Branches Avoiding conflicts Small commits merge
safe point into branches Even better… rebase! …Yeah, but I don’t want to see all these branches all over our repo…
Github forks
Speedy Integration
Speedy Git