SlideShare uma empresa Scribd logo
1 de 28
Baixar para ler offline
BRANCHING MODELS _
DRUPAL DAY PORTUGAL 2020 _
13/11/2020_
2
1. About me
2. Small introduction about the best known GIT
Branching models / workflows.
3. Share experiences and opinions among all
participants
Agenda
3
3. GIT BRANCHING MODELS
1. Agenda
2. About me
4
About me
● Developer with a focus on product
ownership, team performance and
quality assurance @ Dropsolid
● Member of the board of the
Portuguese Drupal Association
● Started with Drupal 5 back in 2007.
5
4. LET’S SHARE
2. About me
3. Git branching models
BEST KNOWN
WORKFLOWS
BRANCHING MODELS
Gitlab flow
No flow
Gitflow
Github flow
No flow
BEST KNOWN WORKFLOWS
● git add --all
● git commit -m “Let it burn”
● git push origin master
BEST KNOWN
WORKFLOWS
BRANCHING MODELS
Gitlab flow
No flow
Gitflow
Github flow
● A develop branch is created from master
● A release branch is created from develop
● Feature branches are created from
develop
● When a feature is complete it is merged
into the develop branch
● When the release branch is done it is
merged into develop and master
● If an issue in master is detected a hotfix
branch is created from master
● Once the hotfix is complete it is merged
to both develop and master
Gitflow
BEST KNOWN
WORKFLOWS
BRANCHING MODELS
Gitlab flow
No flow
Gitflow
Github flow
Github flow
BEST KNOWN
WORKFLOWS
BRANCHING MODELS
Gitlab flow
No flow
Gitflow
Github flow
GitLab flow: Fork of github flow
GitLab flow: Production and Environmental branches
GitLab flow: Release branches
16
5. SOURCES AND USEFUL INFORMATION
3. Git branching models
4. Let’s share
17
Which is the best git workflow?
TOPIC
A Git Workflow is a recipe or recommendation for how to use Git to
accomplish work in a consistent and productive manner.
18
Merging vs Rebasing
TOPIC
Merging is a safe option that preserves the entire history of your
repository, while rebasing creates a linear history by moving your
feature branch onto the tip of master .
19
Tagging
TOPIC
Tags are ref's that point to specific points in Git history. Tagging is
generally used to capture a point in history that is used for a
marked version release (i.e. v1.0.1). A tag is like a branch that
doesn’t change.
20
Merge/Pull request
TOPIC
A Merge Request (MR) is a request to merge one branch into
another.
Use merge requests to visualize and collaborate on proposed
changes to source code.
21
Integration branches
TOPIC
The integration branch is where you bring multiple features
together for testing, before the final push onto master.
22
Environment branches
TOPIC
ENV Branching is based on the environments the application
deploys to.
23
Release branches
TOPIC
A release branch is just a branch in the version control system on
which the code destined for this release can be isolated from
mainline development.
24
Cherry picking
TOPIC
Cherry picking is the act of picking a commit from a branch and
applying it to another.
25
Merge conflicts
TOPIC
Merging and conflicts are a common part of the Git experience.
26
6. END
4. Let’s share
5. Sources and useful information
27
Sources and useful information.
● https://medium.com/@devmrin/learn-complete-gitflow-workflow-basics-how-to-f
rom-start-to-finish-8756ad5b7394
● https://nvie.com/posts/a-successful-git-branching-model/
● https://medium.com/@patrickporto/4-branching-workflows-for-git-30d0aaee7bf
● https://www.atlassian.com/git/tutorials/merging-vs-rebasing
● https://producingoss.com/en/release-branches.html
● https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag#:~:text=T
ags%20are%20ref's%20that%20point,no%20further%20history%20of%20commits.
● https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts
● https://stackoverflow.com/questions/4428722/what-is-the-purpose-of-an-integra
tion-branch#:~:text=The%20integration%20branch%20is%20where,concerns%20i
s%20a%20good%20thing.
● https://medium.com/@ahecimo/selecting-the-right-git-workflow-f77081eef5c2
● https://www.wearefine.com/news/insights/env-branching-with-git
28
End

Mais conteúdo relacionado

Mais procurados

Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)Borek Bernard
 
Git Series. Episode 3. Git Flow and Github-Flow
Git Series. Episode 3. Git Flow and Github-FlowGit Series. Episode 3. Git Flow and Github-Flow
Git Series. Episode 3. Git Flow and Github-FlowMikhail Melnik
 
Git Flow - An Introduction
Git Flow - An IntroductionGit Flow - An Introduction
Git Flow - An IntroductionKnoldus Inc.
 
Source code management with Git
Source code management with GitSource code management with Git
Source code management with GitRadu Barbu
 
SemVer, the whole story
SemVer, the whole storySemVer, the whole story
SemVer, the whole storyJakeGinnivan
 
A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7Rawnet
 
Semantic Versioning with GitVersion
Semantic Versioning with GitVersionSemantic Versioning with GitVersion
Semantic Versioning with GitVersionGary Park
 
Intro to Git for Project Managers
Intro to Git for Project ManagersIntro to Git for Project Managers
Intro to Git for Project ManagersOyeLabs
 
From Commit to Cloud w/ GitLab and PDF
From Commit to Cloud w/ GitLab and PDFFrom Commit to Cloud w/ GitLab and PDF
From Commit to Cloud w/ GitLab and PDFVMware Tanzu
 
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfJayprakash677449
 
CoDe:U Git Flow
CoDe:U Git FlowCoDe:U Git Flow
CoDe:U Git FlowLars Kruse
 
GWT Quick Start
GWT Quick StartGWT Quick Start
GWT Quick StartGuo Albert
 
GitFlow Workshop
GitFlow WorkshopGitFlow Workshop
GitFlow WorkshopSyed Imam
 
TeamForge Overview Webinar (9/21)
TeamForge Overview Webinar (9/21)TeamForge Overview Webinar (9/21)
TeamForge Overview Webinar (9/21)CollabNet
 
Git Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and TagsGit Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and TagsMikhail Melnik
 
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014msohn
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Stefan Lay
 
Git basics a starter on git and its ecosystem
Git basics  a starter on git and its ecosystemGit basics  a starter on git and its ecosystem
Git basics a starter on git and its ecosystemFrançois D'Agostini
 

Mais procurados (20)

Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)Git in 10 minutes (WordCamp Europe 2017)
Git in 10 minutes (WordCamp Europe 2017)
 
Git Series. Episode 3. Git Flow and Github-Flow
Git Series. Episode 3. Git Flow and Github-FlowGit Series. Episode 3. Git Flow and Github-Flow
Git Series. Episode 3. Git Flow and Github-Flow
 
Git Flow - An Introduction
Git Flow - An IntroductionGit Flow - An Introduction
Git Flow - An Introduction
 
Source code management with Git
Source code management with GitSource code management with Git
Source code management with Git
 
SemVer, the whole story
SemVer, the whole storySemVer, the whole story
SemVer, the whole story
 
A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7A review of Concrete 5 and what is new in version 5.7
A review of Concrete 5 and what is new in version 5.7
 
Semantic Versioning with GitVersion
Semantic Versioning with GitVersionSemantic Versioning with GitVersion
Semantic Versioning with GitVersion
 
Intro to Git for Project Managers
Intro to Git for Project ManagersIntro to Git for Project Managers
Intro to Git for Project Managers
 
From Commit to Cloud w/ GitLab and PDF
From Commit to Cloud w/ GitLab and PDFFrom Commit to Cloud w/ GitLab and PDF
From Commit to Cloud w/ GitLab and PDF
 
Learning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdfLearning Git and GitHub - BIT GDSC.pdf
Learning Git and GitHub - BIT GDSC.pdf
 
GitHub
GitHubGitHub
GitHub
 
CoDe:U Git Flow
CoDe:U Git FlowCoDe:U Git Flow
CoDe:U Git Flow
 
GWT Quick Start
GWT Quick StartGWT Quick Start
GWT Quick Start
 
GitFlow Workshop
GitFlow WorkshopGitFlow Workshop
GitFlow Workshop
 
TeamForge Overview Webinar (9/21)
TeamForge Overview Webinar (9/21)TeamForge Overview Webinar (9/21)
TeamForge Overview Webinar (9/21)
 
Git Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and TagsGit Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and Tags
 
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
Code Matters - Eclipse Hackers Git Guide - EclipseCon France 2014
 
Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29Egit democamp-karlsruhe-2011-11-29
Egit democamp-karlsruhe-2011-11-29
 
Git basics a starter on git and its ecosystem
Git basics  a starter on git and its ecosystemGit basics  a starter on git and its ecosystem
Git basics a starter on git and its ecosystem
 
Git workshop
Git workshopGit workshop
Git workshop
 

Semelhante a BRANCHING MODELS (workshop)

Introducing Git and git flow
Introducing Git and git flow Introducing Git and git flow
Introducing Git and git flow Sebin Benjamin
 
Git for work groups ironhack talk
Git for work groups ironhack talkGit for work groups ironhack talk
Git for work groups ironhack talkTiago Ameller
 
Git introduction for Beginners
Git introduction for BeginnersGit introduction for Beginners
Git introduction for BeginnersMortezaTaghaddomi
 
Git and Markdown.pptx
Git and Markdown.pptxGit and Markdown.pptx
Git and Markdown.pptxRichard Anton
 
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...Gibran Badrulzaman
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...CloudNativeElSalvado
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfuzair
 
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)GDSCNiT
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarCollabNet
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.WordCamp Harare
 
Git Branching and Merging.pptx
Git Branching and Merging.pptxGit Branching and Merging.pptx
Git Branching and Merging.pptxtapanvyas11
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GrapesTech Solutions
 

Semelhante a BRANCHING MODELS (workshop) (20)

Introducing Git and git flow
Introducing Git and git flow Introducing Git and git flow
Introducing Git and git flow
 
Git for work groups ironhack talk
Git for work groups ironhack talkGit for work groups ironhack talk
Git for work groups ironhack talk
 
Git & Code review
Git & Code reviewGit & Code review
Git & Code review
 
Git with bitbucket
Git with bitbucketGit with bitbucket
Git with bitbucket
 
Git introduction for Beginners
Git introduction for BeginnersGit introduction for Beginners
Git introduction for Beginners
 
Git and Markdown.pptx
Git and Markdown.pptxGit and Markdown.pptx
Git and Markdown.pptx
 
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...
Understanding the GitOps Workflow and CICD Pipeline - What It Is, Why It Matt...
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...
 
Lets git to it
Lets git to itLets git to it
Lets git to it
 
Git tech
Git techGit tech
Git tech
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
 
Git Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdfGit Tutorial A Comprehensive Guide for Beginners.pdf
Git Tutorial A Comprehensive Guide for Beginners.pdf
 
Git Best Practices.pptx
Git Best Practices.pptxGit Best Practices.pptx
Git Best Practices.pptx
 
Git Basics
Git BasicsGit Basics
Git Basics
 
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)
Open Sprintera (Where Open Source Sparks a Sprint of Possibilities)
 
Optimize Your Enterprise Git Webinar
Optimize Your Enterprise Git WebinarOptimize Your Enterprise Git Webinar
Optimize Your Enterprise Git Webinar
 
Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.Using Git with WordPress - Presented by Nigel Rodgers.
Using Git with WordPress - Presented by Nigel Rodgers.
 
Git Branching and Merging.pptx
Git Branching and Merging.pptxGit Branching and Merging.pptx
Git Branching and Merging.pptx
 
GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?GitHub Vs GitLab | What Are The Major Difference?
GitHub Vs GitLab | What Are The Major Difference?
 
Gitops Hands On
Gitops Hands OnGitops Hands On
Gitops Hands On
 

Mais de Drupal Portugal

DRUPAL DIGITAL MARKETING CHECKLIST
DRUPAL DIGITAL MARKETING CHECKLISTDRUPAL DIGITAL MARKETING CHECKLIST
DRUPAL DIGITAL MARKETING CHECKLISTDrupal Portugal
 
Drupal Day Portugal 2020 - Closing Remarks / Encerramento
Drupal Day Portugal 2020 - Closing Remarks / EncerramentoDrupal Day Portugal 2020 - Closing Remarks / Encerramento
Drupal Day Portugal 2020 - Closing Remarks / EncerramentoDrupal Portugal
 
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)Drupal Portugal
 
DRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISHDRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISHDrupal Portugal
 
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...Drupal Portugal
 
Drupal Day Portugal 2020
Drupal Day Portugal 2020Drupal Day Portugal 2020
Drupal Day Portugal 2020Drupal Portugal
 
Como Colaborar na Tradução
Como Colaborar na Tradução Como Colaborar na Tradução
Como Colaborar na Tradução Drupal Portugal
 
Também há Drupal em Portugal
Também há Drupal em PortugalTambém há Drupal em Portugal
Também há Drupal em PortugalDrupal Portugal
 
Drupal e o seu ecossistema
Drupal e o seu ecossistemaDrupal e o seu ecossistema
Drupal e o seu ecossistemaDrupal Portugal
 
Drupal mapping, a brid's eye view
Drupal mapping, a brid's eye viewDrupal mapping, a brid's eye view
Drupal mapping, a brid's eye viewDrupal Portugal
 
Business Angels e oportunidades de negócio
Business Angels e oportunidades de negócioBusiness Angels e oportunidades de negócio
Business Angels e oportunidades de negócioDrupal Portugal
 

Mais de Drupal Portugal (18)

DRUPAL DIGITAL MARKETING CHECKLIST
DRUPAL DIGITAL MARKETING CHECKLISTDRUPAL DIGITAL MARKETING CHECKLIST
DRUPAL DIGITAL MARKETING CHECKLIST
 
Drupal Day Portugal 2020 - Closing Remarks / Encerramento
Drupal Day Portugal 2020 - Closing Remarks / EncerramentoDrupal Day Portugal 2020 - Closing Remarks / Encerramento
Drupal Day Portugal 2020 - Closing Remarks / Encerramento
 
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)
TURN YOUR DRUPAL INTO A DIGITAL EXPERIENCE PLATFORM (DXP)
 
DRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISHDRUPAL CACHE SYSTEMS AND VARNISH
DRUPAL CACHE SYSTEMS AND VARNISH
 
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
COMO CRIAR O TEU STARTUP PROJECT E SETUP DO TEU AMBIENTE DE DESENVOLVIMENTO D...
 
Drupal Day Portugal 2020
Drupal Day Portugal 2020Drupal Day Portugal 2020
Drupal Day Portugal 2020
 
Panels: Drupal Cubista
Panels: Drupal CubistaPanels: Drupal Cubista
Panels: Drupal Cubista
 
Como Colaborar na Tradução
Como Colaborar na Tradução Como Colaborar na Tradução
Como Colaborar na Tradução
 
Também há Drupal em Portugal
Também há Drupal em PortugalTambém há Drupal em Portugal
Também há Drupal em Portugal
 
Full Web Stack Security
Full Web Stack SecurityFull Web Stack Security
Full Web Stack Security
 
Rules e Drupal
Rules e DrupalRules e Drupal
Rules e Drupal
 
Temas em Drupal
Temas em DrupalTemas em Drupal
Temas em Drupal
 
Drupal e o seu ecossistema
Drupal e o seu ecossistemaDrupal e o seu ecossistema
Drupal e o seu ecossistema
 
Drupal mapping, a brid's eye view
Drupal mapping, a brid's eye viewDrupal mapping, a brid's eye view
Drupal mapping, a brid's eye view
 
Drupal 7
Drupal 7Drupal 7
Drupal 7
 
Business of Drupal
Business of DrupalBusiness of Drupal
Business of Drupal
 
DrupalCamp Lisboa 2011
DrupalCamp Lisboa 2011DrupalCamp Lisboa 2011
DrupalCamp Lisboa 2011
 
Business Angels e oportunidades de negócio
Business Angels e oportunidades de negócioBusiness Angels e oportunidades de negócio
Business Angels e oportunidades de negócio
 

Último

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...Jittipong Loespradit
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfonteinmasabamasaba
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 

Último (20)

WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 

BRANCHING MODELS (workshop)

  • 1. BRANCHING MODELS _ DRUPAL DAY PORTUGAL 2020 _ 13/11/2020_
  • 2. 2 1. About me 2. Small introduction about the best known GIT Branching models / workflows. 3. Share experiences and opinions among all participants Agenda
  • 3. 3 3. GIT BRANCHING MODELS 1. Agenda 2. About me
  • 4. 4 About me ● Developer with a focus on product ownership, team performance and quality assurance @ Dropsolid ● Member of the board of the Portuguese Drupal Association ● Started with Drupal 5 back in 2007.
  • 5. 5 4. LET’S SHARE 2. About me 3. Git branching models
  • 6. BEST KNOWN WORKFLOWS BRANCHING MODELS Gitlab flow No flow Gitflow Github flow
  • 7. No flow BEST KNOWN WORKFLOWS ● git add --all ● git commit -m “Let it burn” ● git push origin master
  • 8. BEST KNOWN WORKFLOWS BRANCHING MODELS Gitlab flow No flow Gitflow Github flow
  • 9. ● A develop branch is created from master ● A release branch is created from develop ● Feature branches are created from develop ● When a feature is complete it is merged into the develop branch ● When the release branch is done it is merged into develop and master ● If an issue in master is detected a hotfix branch is created from master ● Once the hotfix is complete it is merged to both develop and master Gitflow
  • 10. BEST KNOWN WORKFLOWS BRANCHING MODELS Gitlab flow No flow Gitflow Github flow
  • 12. BEST KNOWN WORKFLOWS BRANCHING MODELS Gitlab flow No flow Gitflow Github flow
  • 13. GitLab flow: Fork of github flow
  • 14. GitLab flow: Production and Environmental branches
  • 16. 16 5. SOURCES AND USEFUL INFORMATION 3. Git branching models 4. Let’s share
  • 17. 17 Which is the best git workflow? TOPIC A Git Workflow is a recipe or recommendation for how to use Git to accomplish work in a consistent and productive manner.
  • 18. 18 Merging vs Rebasing TOPIC Merging is a safe option that preserves the entire history of your repository, while rebasing creates a linear history by moving your feature branch onto the tip of master .
  • 19. 19 Tagging TOPIC Tags are ref's that point to specific points in Git history. Tagging is generally used to capture a point in history that is used for a marked version release (i.e. v1.0.1). A tag is like a branch that doesn’t change.
  • 20. 20 Merge/Pull request TOPIC A Merge Request (MR) is a request to merge one branch into another. Use merge requests to visualize and collaborate on proposed changes to source code.
  • 21. 21 Integration branches TOPIC The integration branch is where you bring multiple features together for testing, before the final push onto master.
  • 22. 22 Environment branches TOPIC ENV Branching is based on the environments the application deploys to.
  • 23. 23 Release branches TOPIC A release branch is just a branch in the version control system on which the code destined for this release can be isolated from mainline development.
  • 24. 24 Cherry picking TOPIC Cherry picking is the act of picking a commit from a branch and applying it to another.
  • 25. 25 Merge conflicts TOPIC Merging and conflicts are a common part of the Git experience.
  • 26. 26 6. END 4. Let’s share 5. Sources and useful information
  • 27. 27 Sources and useful information. ● https://medium.com/@devmrin/learn-complete-gitflow-workflow-basics-how-to-f rom-start-to-finish-8756ad5b7394 ● https://nvie.com/posts/a-successful-git-branching-model/ ● https://medium.com/@patrickporto/4-branching-workflows-for-git-30d0aaee7bf ● https://www.atlassian.com/git/tutorials/merging-vs-rebasing ● https://producingoss.com/en/release-branches.html ● https://www.atlassian.com/git/tutorials/inspecting-a-repository/git-tag#:~:text=T ags%20are%20ref's%20that%20point,no%20further%20history%20of%20commits. ● https://www.atlassian.com/git/tutorials/using-branches/merge-conflicts ● https://stackoverflow.com/questions/4428722/what-is-the-purpose-of-an-integra tion-branch#:~:text=The%20integration%20branch%20is%20where,concerns%20i s%20a%20good%20thing. ● https://medium.com/@ahecimo/selecting-the-right-git-workflow-f77081eef5c2 ● https://www.wearefine.com/news/insights/env-branching-with-git