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
80
1
Share
Speedy Git
How to increase the speed from brain to/from git
Paul McGrath
June 10, 2017
More Decks by Paul McGrath
See All by Paul McGrath
Docker101 Workshop
paulmcgrath
2
110
What can I do with that Raspberry Pi?
paulmcgrath
0
60
Untrusted Data: SQL injection and XSS
paulmcgrath
0
68
Faster Software Delivery - Dan North
paulmcgrath
1
72
Design Patterns Club
paulmcgrath
0
73
Other Decks in Programming
See All in Programming
「エンジニアインターン、どうやって取った?」準備のリアルを語るLT会 Progate BAR
akiomatic
0
110
New "Type" system on PicoRuby
pocke
1
420
Lessons from Spec-Driven Development
simas
PRO
0
110
フロントエンドとバックエンドで「1文字」を揃えよう
youkidearitai
PRO
0
140
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.4k
Swiftのレキシカルスコープ管理
kntkymt
0
210
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
420
Copilot CLI の継戦能力を高める コンテキスト管理
nozomutu
1
1.2k
TSKaigi 2026 TypeScriptバックエンドのオブザーバビリティ戦略 — Datadog × NestJSの実践
taiseiyamamotoan
1
220
JJUG CCC 2026 Spring: JSpecify で実現する Kotlin フレンドリーな Java API 設計
ternbusty
1
130
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
460
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
2
220
Featured
See All Featured
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Optimizing for Happiness
mojombo
378
71k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Bash Introduction
62gerente
615
210k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
220
Automating Front-end Workflow
addyosmani
1370
210k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
54k
Unsuck your backbone
ammeep
672
58k
The SEO Collaboration Effect
kristinabergwall1
1
470
Facilitating Awesome Meetings
lara
57
6.9k
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