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
Derek Johnson
September 17, 2015
Technology
0
89
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
38
Git basics
derekjohnson
1
58
Responsive images have landed
derekjohnson
2
150
How modern web design works
derekjohnson
0
420
Other Decks in Technology
See All in Technology
Асинхронная коммуникация в Go: от понятного к душному. Дима Некрасов, Otello, 2ГИС
lamodatech
0
2.1k
自動化の第一歩 -インフラ環境構築の自動化について-
smt7174
1
130
AndroidアプリエンジニアもMCPを触ろう
kgmyshin
2
650
20 Years of Domain-Driven Design: What I’ve Learned About DDD
ewolff
1
340
TanStack Start 技術選定の裏側 / Findy-Lunch-LT-TanStack-Start
iktakahiro
1
120
名単体テスト 禁断の傀儡(モック)
iwamot
PRO
1
200
Gateway H2 モジュールで スマートホーム入門
minoruinachi
0
140
AIによるコードレビューで開発体験を向上させよう!
moongift
PRO
0
420
LINE 購物幕後推手
line_developers_tw
PRO
0
450
AOAI で AI アプリを開発する時にまず考えたいこと
mappie_kochi
1
690
ユーザーコミュニティが海外スタートアップのDevRelを補完する瞬間
nagauta
0
160
newmo の創業を支える Software Architecture と Platform Engineering
110y
5
480
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
33
6.6k
Adopting Sorbet at Scale
ufuk
76
9.4k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.7k
Site-Speed That Sticks
csswizardry
6
540
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Making the Leap to Tech Lead
cromwellryan
133
9.3k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
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