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 Branch Model
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ryan Lv
August 07, 2014
Programming
140
0
Share
Git Branch Model
Ryan Lv
August 07, 2014
More Decks by Ryan Lv
See All by Ryan Lv
Understanding MySQL Explain
xiaoronglv
1
1.1k
Memcached: consistent hashing, LRU, and memory allocation
xiaoronglv
0
870
Anki Basic
xiaoronglv
0
1k
数据挖掘从0到1
xiaoronglv
0
220
Other Decks in Programming
See All in Programming
ReactとSvelteのその先、Ripple-TS / Beyond React and Svelte: Ripple-TS
ssssota
3
1.8k
inferと仲良くなる10分間
ryokatsuse
1
290
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
140
Modding RubyKaigi for Myself
yui_knk
0
830
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
140
密結合なバックエンドから TypeScript のコードを生成する
kemuridama
1
390
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
0
230
関係性から理解する"同一性"の型用語たち
pvcresin
2
620
権限チェックの一貫性を型で守る TypeScript による多層防御
mnch
4
990
代数的データ型って何が嬉しいの? #frontend_phpcon_do
kajitack
7
2.4k
AI駆動開発勉強会 広島支部 第一回勉強会 AI駆動開発概要とワークショップ
hayatoshimiu
0
420
ビジネスモデルから紐解く、AI+型駆動開発
hirokiomote
2
4.7k
Featured
See All Featured
From π to Pie charts
rasagy
0
190
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
180
Embracing the Ebb and Flow
colly
88
5.1k
Git: the NoSQL Database
bkeepers
PRO
432
67k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
710
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
520
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
62k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
Transcript
Git 分⽀支策略 吕⼩小荣
Why • ⼯工作流程 • 参与到开源项⺫⽬目中
内容 • 最完美(繁琐)的 Branching Model • Github Flow • Boohee
Flow
完(繁)美(琐)
• Master • hotfix • develop • feature • release
两条主线
如何开发功能
如何修复 bug
Github Flow
术语 • fork(not fuck) • pull request
fork
pull request
区别 • 第⼀一个 Flow 是单个仓库内协作 • 第⼆二个是多个仓库之间的协作
Boohee Style “薄荷的分⽀支管理策略.”
代码库 • 共享的单仓库 • merge 时需要 pull request • 新⼈人操作要慎重
分⽀支 • master • feature/ • hotfix/ • deploy (⼤大杂烩,⼩小受,千万别被
merge)
部署到 qa • git checkout qa • git merge feature/sms
• git pull • git push • cap qa deploy
• http://nvie.com/posts/a-successful-git-branching- model/ • http://www.ruanyifeng.com/blog/2012/07/git.html Reference
thanks and return