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
70
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
91
What can I do with that Raspberry Pi?
paulmcgrath
0
51
Untrusted Data: SQL injection and XSS
paulmcgrath
0
55
Faster Software Delivery - Dan North
paulmcgrath
1
63
Design Patterns Club
paulmcgrath
0
67
Other Decks in Programming
See All in Programming
受け取る人から提供する人になるということ
little_rubyist
0
170
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
260
リリース8年目のサービスの1800個のERBファイルをViewComponentに移行した方法とその結果
katty0324
5
4.1k
Kaigi on Rails 2024 - Rails APIモードのためのシンプルで効果的なCSRF対策 / kaigionrails-2024-csrf
corocn
5
3.7k
Realtime API 入門
riofujimon
0
130
Ethereum_.pdf
nekomatu
0
340
タクシーアプリ『GO』のリアルタイムデータ分析基盤における機械学習サービスの活用
mot_techtalk
4
120
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
2
1k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
310
現場で役立つモデリング 超入門
masuda220
PRO
14
3.1k
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
190
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
24
12k
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
126
18k
The Cult of Friendly URLs
andyhume
78
6k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
The Language of Interfaces
destraynor
154
24k
YesSQL, Process and Tooling at Scale
rocio
168
14k
How to train your dragon (web standard)
notwaldorf
88
5.7k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
2k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Automating Front-end Workflow
addyosmani
1366
200k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
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