SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
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

Contenu connexe

Tendances

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
 

Tendances (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
 

Similaire à 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
 

Similaire à 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
 

Plus 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
 

Plus 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
 

Dernier

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
%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
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsBert Jan Schrijver
 
%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
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%+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
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
+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
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareJim McKeeth
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
%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 Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...masabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 

Dernier (20)

Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%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
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
%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
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+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...
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
+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...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
%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 Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 

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