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 branching strategy
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Derek Johnson
September 17, 2015
Technology
0
93
Git branching strategy
Slides from an internal presentation for new staff
Derek Johnson
September 17, 2015
Tweet
Share
More Decks by Derek Johnson
See All by Derek Johnson
Responsive Web Design
derekjohnson
0
43
Git basics
derekjohnson
1
59
Responsive images have landed
derekjohnson
2
170
How modern web design works
derekjohnson
0
430
Other Decks in Technology
See All in Technology
BiDiってなんだ?
tomorrowkey
2
510
SREの仕事を自動化する際にやっておきたい5つのポイント
jacopen
6
1.2k
月間数億レコードのアクセスログ基盤を無停止・低コストでAWS移行せよ!アプリケーションエンジニアのSREチャレンジ💪
miyamu
0
220
BPaaSオペレーション・kubell社内 n8n活用による効率化検証事例紹介
kentarofujii
0
320
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
みんなだいすきALB、NLBの 仕組みから最新機能まで総おさらい / Mastering ALB & NLB: Internal Mechanics and Latest Innovations
kaminashi
0
140
Amazon Bedrock AgentCore EvaluationsでAIエージェントを評価してみよう!
yuu551
0
190
新規事業 toitta におけるAI 機能評価の話 / AI Feature Evaluation in toitta
pokutuna
0
290
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
17k
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
440
最速で価値を出すための プロダクトエンジニアのツッコミ術
kaacun
1
410
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
310
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
130
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
GraphQLとの向き合い方2022年版
quramy
50
14k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
New Earth Scene 8
popppiees
1
1.5k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
110
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.7k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Prompt Engineering for Job Search
mfonobong
0
150
Transcript
Git branching strategy
git checkout -b offline Creates a new branch called “offline”
branching off from the current branch
git checkout dev Moves to an existing branch called “dev”
git branch -m watch clock Renames a branch called “watch”
to “clock”
git branch -m develop Renames the current branch to “develop”
git branch -d develop Deletes the branch called “develop”
git merge --no-ff aria Merges the branch called “aria” into
the current branch
git checkout -t origin/staging Create a new branch called “staging”
that tracks the remote branch called “staging”
None
Feature branches Release branches Hotfix branches
None
git checkout -b <feature>
None
git checkout dev git merge --no-ff <feature>
None
git checkout staging git merge --no-ff dev
Feature branches Release branches Hotfix branches
None
git checkout -b release-2.2.0
README.md CHANGELOG.md
None
None
git checkout master git merge --no-ff release-2.2.0 git tag 2.2.0
git push origin master 2.2.0
Feature branches Release branches Hotfix branches
None
git checkout -b hotfix-2.2.1
README.md CHANGELOG.md
None
git checkout -t origin/staging Create a new branch called “staging”
that tracks the remote branch called “staging”
git push -u origin staging Push a local branch called
“staging” to remote