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 Workflows: Beware of merge conflicts, they ...
Search
Olawale
July 07, 2023
Programming
160
0
Share
Git Workflows: Beware of merge conflicts, they bite you!
Olawale
July 07, 2023
Other Decks in Programming
See All in Programming
AIと共に生きる技術選定 2026
sgash708
0
110
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
290
Kingdom of the Machine
yui_knk
2
900
Offline should be the norm: building local-first apps with CRDTs & Kotlin Multiplatform
renaudmathieu
0
230
ハーネスエンジニアリングとは?
kinopeee
13
6.1k
書籍「ユーザーストーリーマッピング」が私のバイブル
asumikam
4
420
Surviving Black Friday: 329 billion requests with Falcon!
ioquatix
0
820
レガシーPHP転生 〜父がドメインエキスパートだったのでDDD+Claude Codeでチート開発します〜
panda_program
0
1.1k
의존성 주입과 모듈화
fornewid
0
150
Claude Code × Gemini × Ebitengine ゲーム制作素人WebエンジニアがGoでゲームを作った話
webzawa
0
160
Programming with a DJ Controller — not vibe coding
m_seki
3
160
Spec-driven Development: How AI Changes Everything (And Nothing)
simas
PRO
0
180
Featured
See All Featured
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
200
Utilizing Notion as your number one productivity tool
mfonobong
4
290
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
740
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
490
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
280
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
280
Designing for Timeless Needs
cassininazir
0
210
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
73k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
770
How to Ace a Technical Interview
jacobian
281
24k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Transcript
None
Outline • Why do we need them? • What are
they? • How do I use them? • Useful git commands
Why • Inefficient Release Process • Code conflicts • Scalability
concerns
Git Workflow Git Workflow is a git branching model for
teams that scales.
Git Workflow - Types • Git Flow • Github flow
• Trunk-based flow • Space Git Flow
Git Flow - Main Branches main develop For production code
only! Development code
Git Flow - Supporting Branches main develop Feature branches $
git checkout -b myfeature develop
Git Flow - Supporting Branches main develop feature branches $
git checkout -b release-1.0 develop release branches release branch for 1.0 release branch 1.1
main develop feature branches release branches release branch for 1.0
release branch 1.1 hotfixes
Useful git commands Git merge vs Git Rebase Both are
used for incorporating changes from one branch to another!
Git merge vs Git Rebase git merge feature develop develop
Git merge Result develop New Commit
Git Rebase Result develop git checkout feature git rebase develop
• No new merge commit • It results in a linear git history
Git Rebase - Interactive mode git checkout feature git rebase
-i develop pick 33d5b7a Add paypal payment method #1 pick 9480b3d Fix something #2 pick 5c67e61 Add idea payment method #3 develop
Git Rebase - Interactive mode SQUASHING! pick 33d5b7a Add paypal
payment method #1 fixup 9480b3d Fix something #2 pick 5c67e61 Add idea payment method #3 develop
Git Rebase The golden rule of git rebase is to
never use it on public branches
Questions?