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 enhancement
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Shin Tokiwa
August 06, 2012
Programming
260
3
Share
git enhancement
#1 git-flow
Shin Tokiwa
August 06, 2012
Other Decks in Programming
See All in Programming
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
200
How Swift's Type System Guides AI Agents
koher
0
230
Radical Imagining - LIFT 2025-2027 Policy Agenda
lift1998
0
270
飯MCP
yusukebe
0
500
The Monolith Strikes Back: Why AI Agents ❤️ Rails Monoliths
serradura
0
310
Nuxt Server Components
wattanx
0
270
RSAが破られる前に知っておきたい 耐量子計算機暗号(PQC)入門 / Intro to PQC: Preparing for the Post-RSA Era
mackey0225
3
130
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
840
Getting more out of Maven
mlvandijk
0
110
Java 21/25 Virtual Threads 소개
debop
0
350
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
200
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
27
3.4k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
1
3.5k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
350
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
430
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
310
Transcript
git enhancement #1 git-flow 1 128݄6݄༵
Git ͬͯ·͔͢ʁ • தԝϦϙδτϦ͕ͳͯ͘ར༻Ͱ͖Δ • ϩʔΧϧͰϒϥϯνλάΛࣗ༝ʹ࡞Ͱ͖Δ • ෳͷϦϞʔτϦϙδτϦͱࣗ༝ʹ࿈ܞͰ͖Δ • Pull
Request (GitLab Ͱ Merge Request) ศར • ͳͲͳͲػೳ͕Γͩ͘͞Μʂ 2 128݄6݄༵
݁ߏͳΜͰͰ͖Δ 3 128݄6݄༵
Α͋͘Δޫܠ 4 128݄6݄༵
͓Ε Push ͨ͠Α Α͋͘Δޫܠ 4 128݄6݄༵
͓Ε Push ͨ͠Α ͜ͷ Branch ͳʹʁ Α͋͘Δޫܠ 4 128݄6݄༵
͓Ε Push ͨ͠Α ͜ͷ Branch ͳʹʁ ࠷৽ͲΕΑʁ Α͋͘Δޫܠ 4 128݄6݄༵
͓Ε Push ͨ͠Α ͜ͷ Branch ͳʹʁ ࠷৽ͲΕΑʁ ͜ͷόάमਖ਼Ͳͷ Branch ʹద༻ͨ͠ͷʁ
Α͋͘Δޫܠ 4 128݄6݄༵
ͭ·Γ… 5 128݄6݄༵
ͭ·Γ… ΧΦεͳঢ়گʹ ͳΓ͍͢ʂ 5 128݄6݄༵
ࠓͷຊ 6 128݄6݄༵
ࠓͷຊ git-flow ͕͍͢͝ 6 128݄6݄༵
What’s git-flow? 7 128݄6݄༵
What’s git-flow? • ࢄ͕ͪ͠ͳϒϥϯνΛཧ 7 128݄6݄༵
What’s git-flow? • ࢄ͕ͪ͠ͳϒϥϯνΛཧ • νʔϜͰϒϥϯνϞσϧΛڞ༗ 7 128݄6݄༵
What’s git-flow? • ࢄ͕ͪ͠ͳϒϥϯνΛཧ • νʔϜͰϒϥϯνϞσϧΛڞ༗ • Git ͷॴΛଛͳΘͣʹ Subversion
ͷΑ͏ͳूத ཧͬͪΌ͏ʂ 7 128݄6݄༵
What’s git-flow? • ࢄ͕ͪ͠ͳϒϥϯνΛཧ • νʔϜͰϒϥϯνϞσϧΛڞ༗ • Git ͷॴΛଛͳΘͣʹ Subversion
ͷΑ͏ͳूத ཧͬͪΌ͏ʂ • Ͱͨͩ git ίϚϯυΛϥοϓͯ͠Δ͚ͩ 7 128݄6݄༵
installation of git-flow • Mac OSX • brew install git-flow
• port install git-flow • Ubuntu • aptitude install git-flow • Windows • खॱ͕໘ͳͷͰׂѪ— 8 128݄6݄༵
git-flow branches Branch Name Description master ϦϦʔε༻ϒϥϯν develop ։ൃ༻ϒϥϯν feature/{feature
name} ػೳ։ൃ༻Ұ࣌ϒϥϯν release/{release name} ϦϦʔε༻Ұ࣌ϒϥϯν hotfix/{hotfix name} όάमਖ਼༻Ұ࣌ϒϥϯν support/{support name} αϙʔτ༻Ұ࣌ϒϥϯν {version} λά 9 128݄6݄༵
“master” and “develop” • “master” • ݱࡏϦϦʔε͞Ε͍ͯΔΞϓϦέʔγϣϯͱಉ • “develop” •
։ൃ൛ͷ࠷৽ • ʑػೳ͕Ճ͞Ε͍ͯ͘ײ͡ • ྫ͑։ൃڥͰಈ࡞͍ͯ͠ΔΞϓϦέʔγϣϯ͕ ૬͢Δ 10 128݄6݄༵
“feature” • “develop” Λݩʹ࡞͞ΕΔϒϥϯν • ಛఆͷػೳ։ൃணख࣌ʹ࡞ • ػೳ։ൃ͕ऴྃ͢Δͱ͖ʹ “develop” ʹϚʔδ
• Ϛʔδͱͱʹ “feature” ϒϥϯνഁغ 11 128݄6݄༵
“hotfix” • “master” Λݩʹ࡞͞ΕΔϒϥϯν • ՔಇதͷΞϓϦέʔγϣϯͰݟ͔ͭͬͨόάΛमਖ਼͢Δ ͨΊͷϒϥϯν • όάमਖ਼ணख࣌ʹ࡞ •
όάमਖ਼͕ऴྃ͢Δͱ͖ʹ “master” ͱ “develop” ʹϚʔδ • Ϛʔδͱͱʹ “hotfix” ϒϥϯνഁغ 12 128݄6݄༵
“release” • “develop” Λݩʹ࡞͞ΕΔϒϥϯν • ։ൃதͷ҆ఆ൛ΛϦϦʔε͢Δͱ͖ʹ࡞ • README ϦϦʔεϊʔτΛهड़ •
ϦϦʔελΠϛϯάͰ “master” ͱ “develop” ʹϚʔδ • Ϛʔδͱͱʹ “release” ϒϥϯνഁغ 13 128݄6݄༵
git-flow hands-on 14 128݄6݄༵
git-flow hands-on ͕࣌ؒ͋Ε ϥΠϒͰ ͬͯΈ·͢ 14 128݄6݄༵
؆୯ͳ·ͱΊ 15 128݄6݄༵
ػೳ։ൃ͢Δ • git flow feature start 1122_retrieve_gn • ͝ʹΐ͝ʹΐ։ൃ…ςετΕͣʹ… •
git flow feature finish 1122_retrieve_gn • “develop” ʹػೳ͕औΓࠐ·ΕΔ 16 128݄6݄༵
όάΛमਖ਼͢Δ • git flow hotfix start 1234_nullpo • ͝ʹΐ͝ʹΐमਖ਼͢Δ…વςετʂ •
git flow hotfix finish 1234_nullpo • “master” ͱ “develop” ʹऔΓࠐ·ΕΔ 17 128݄6݄༵
όάΛमਖ਼͢Δ • git flow hotfix start 1234_nullpo • ͝ʹΐ͝ʹΐमਖ਼͢Δ…વςετʂ •
git flow hotfix finish 1234_nullpo • “master” ͱ “develop” ʹऔΓࠐ·ΕΔ ࣗಈతʹ λά͚ 17 128݄6݄༵
ϦϦʔε͢Δ • git flow release start 1.2.1 • ϦϦʔεϊʔτΛॻ͜͏ʂ •
͜Μͳػೳ͕Ճ͞Εͨ • ͜Μͳόά͕मਖ਼͞Εͨ • git flow release finish 1.2.1 • “master” ͱ “develop” ʹऔΓࠐ·ΕΔ 18 128݄6݄༵
ϦϦʔε͢Δ • git flow release start 1.2.1 • ϦϦʔεϊʔτΛॻ͜͏ʂ •
͜Μͳػೳ͕Ճ͞Εͨ • ͜Μͳόά͕मਖ਼͞Εͨ • git flow release finish 1.2.1 • “master” ͱ “develop” ʹऔΓࠐ·ΕΔ ࣗಈతʹ λά͚ 18 128݄6݄༵
refs • nvie/gitflow • https://github.com/nvie/gitflow/ • A successful Git branching
model • http://nvie.com/posts/a-successful-git-branching-model/ • git-flow ʹΑΔϒϥϯνͷཧ • http://www.oreilly.co.jp/community/blog/2011/11/branch- model-with-git-flow.html 19 128݄6݄༵
·ͩ·͍ͩ͜ͳͤͯͳ͍ͷͰ͕͢ git-flow ʹΑͬͯιʔεཧ͕Θ͔Γ͘͢ͳΔ ͱײ͍ͯ͡·͢ 20 128݄6݄༵
·ͩ·͍ͩ͜ͳͤͯͳ͍ͷͰ͕͢ git-flow ʹΑͬͯιʔεཧ͕Θ͔Γ͘͢ͳΔ ͱײ͍ͯ͡·͢ ͏Ͷ 20 128݄6݄༵
͓ΘΓ 21 128݄6݄༵