SlideShare uma empresa Scribd logo
1 de 11
Baixar para ler offline
git-flow
Vinícius T. Sossella
Por Quê
protocolos
Main branches
- Develop
- We consider origin/develop to be the main branch where the
source code of HEAD always reflects a state with the latest
delivered development changes for the next release. Some
would call this the “integration branch”. This is where any
automatic nightly builds are built from.
- Master
- We consider origin/master to be the main branch where the
source code of HEAD always reflects a production-ready
state.
Supporting branches
- Feature branches
- Feature branch may branch from Develop
- Must be merged with develop branch
- Release branches
- Release branch may branch from Develop
- Must be merged with develop and master branch
- Hotfix branches
- Hotfix branch may branch from Master
- Must be merged with develop and master branch
Hands on
- git flow init (initialize basic branch structure)
FEATURE
- git flow feature start my-feature-name (will start from develop branch)
- git flow feature publish my-feature-name
- git flow feature finish my-feature-name
- git push origin my-feature-name
Hands on
RELEASE
- git flow release start my-release-name
- git flow release publish my-release-name
- git flow release finish my-release-name
- git push origin my-release-name
HOTFIX
- git flow hotfix start my-hotfix-name
- git flow hotfix finish my-hotfix-name
Prós, Contras
It makes the project's history
completely unreadable multiple version support
running CI on Dev Branches
Pessimistic Approach
The master/develop split is redundant
It's needlessly complex
Decentralized but centralized
refs
http://nvie.com/posts/a-successful-git-branching-model/
http://endoflineblog.com/gitflow-considered-harmful
http://www.slideshare.net/svenpeters/git-branching-for-agile-teams
https://guides.github.com/introduction/flow/

Mais conteúdo relacionado

Mais procurados (6)

SocketIOSetupWithAngularJSAppByShubham
SocketIOSetupWithAngularJSAppByShubhamSocketIOSetupWithAngularJSAppByShubham
SocketIOSetupWithAngularJSAppByShubham
 
Apikit from command line
Apikit from command lineApikit from command line
Apikit from command line
 
The newst new Router for Angular 2 ("Version 3")
The newst new Router for Angular 2 ("Version 3")The newst new Router for Angular 2 ("Version 3")
The newst new Router for Angular 2 ("Version 3")
 
Der neueste neue Router (Version 3) für Angular 2
Der neueste neue Router (Version 3) für Angular 2Der neueste neue Router (Version 3) für Angular 2
Der neueste neue Router (Version 3) für Angular 2
 
Switching to Git
Switching to GitSwitching to Git
Switching to Git
 
Project Hoptimus - Brewing beer using Android Things
Project Hoptimus - Brewing beer using Android ThingsProject Hoptimus - Brewing beer using Android Things
Project Hoptimus - Brewing beer using Android Things
 

Destaque (15)

[BrunoiMob] Frames Vila da Mídia
[BrunoiMob] Frames Vila da Mídia[BrunoiMob] Frames Vila da Mídia
[BrunoiMob] Frames Vila da Mídia
 
National Diploma
National DiplomaNational Diploma
National Diploma
 
Redwood Credentials Digital Version (1)
Redwood Credentials Digital Version (1)Redwood Credentials Digital Version (1)
Redwood Credentials Digital Version (1)
 
Rio beas y darro 2
Rio beas y darro 2Rio beas y darro 2
Rio beas y darro 2
 
SCULLERS SHIRT graged view
SCULLERS SHIRT graged viewSCULLERS SHIRT graged view
SCULLERS SHIRT graged view
 
Septembrie 2016
Septembrie 2016Septembrie 2016
Septembrie 2016
 
1
11
1
 
Factores de riesgo
Factores de riesgoFactores de riesgo
Factores de riesgo
 
Resultados campeonato dominicas vistabella
Resultados campeonato dominicas vistabellaResultados campeonato dominicas vistabella
Resultados campeonato dominicas vistabella
 
woodland 03BBP001
woodland 03BBP001woodland 03BBP001
woodland 03BBP001
 
Interior Design
Interior DesignInterior Design
Interior Design
 
Gvsat is mba entrance test for isbm gyan vihar
Gvsat is mba entrance test for isbm gyan viharGvsat is mba entrance test for isbm gyan vihar
Gvsat is mba entrance test for isbm gyan vihar
 
CV_SRabi_2016. doc
CV_SRabi_2016. docCV_SRabi_2016. doc
CV_SRabi_2016. doc
 
Hanball
HanballHanball
Hanball
 
Swarthmore 2
Swarthmore 2Swarthmore 2
Swarthmore 2
 

Semelhante a Gitflow

Git Workflow With Gitflow
Git Workflow With GitflowGit Workflow With Gitflow
Git Workflow With Gitflow
Josh Dvir
 
Embracing Distributed Version Control
Embracing Distributed Version ControlEmbracing Distributed Version Control
Embracing Distributed Version Control
Nowell Strite
 
A successful Git branching model
A successful Git branching model A successful Git branching model
A successful Git branching model
abodeltae
 
Checkitmobile - using Git for development
Checkitmobile - using Git for developmentCheckitmobile - using Git for development
Checkitmobile - using Git for development
Gerrit Wanderer
 

Semelhante a Gitflow (20)

Git flow Introduction
Git flow IntroductionGit flow Introduction
Git flow Introduction
 
Git development workflow
Git development workflowGit development workflow
Git development workflow
 
Git Workflow With Gitflow
Git Workflow With GitflowGit Workflow With Gitflow
Git Workflow With Gitflow
 
Git
GitGit
Git
 
Sbt, idea and eclipse
Sbt, idea and eclipseSbt, idea and eclipse
Sbt, idea and eclipse
 
Embracing Distributed Version Control
Embracing Distributed Version ControlEmbracing Distributed Version Control
Embracing Distributed Version Control
 
Gitflow - Una metología para manejo de Branches
Gitflow - Una metología para manejo de BranchesGitflow - Una metología para manejo de Branches
Gitflow - Una metología para manejo de Branches
 
Git
GitGit
Git
 
Source code management with Git
Source code management with GitSource code management with Git
Source code management with Git
 
A successful Git branching model
A successful Git branching model A successful Git branching model
A successful Git branching model
 
Lightning branches at RedMart (Js conf Asia 2014 Talk)
Lightning branches at RedMart (Js conf Asia 2014  Talk)Lightning branches at RedMart (Js conf Asia 2014  Talk)
Lightning branches at RedMart (Js conf Asia 2014 Talk)
 
How to use Git Branch
How to use Git BranchHow to use Git Branch
How to use Git Branch
 
Git and GitFlow branching model
Git and GitFlow branching modelGit and GitFlow branching model
Git and GitFlow branching model
 
Checkitmobile - using Git for development
Checkitmobile - using Git for developmentCheckitmobile - using Git for development
Checkitmobile - using Git for development
 
Git and Git Workflow Models as Catalysts of Software Development
Git and Git Workflow Models as Catalysts of Software DevelopmentGit and Git Workflow Models as Catalysts of Software Development
Git and Git Workflow Models as Catalysts of Software Development
 
A Git Workflow Model or Branching Strategy
A Git Workflow Model or Branching StrategyA Git Workflow Model or Branching Strategy
A Git Workflow Model or Branching Strategy
 
GitFlow, SourceTree and GitLab
GitFlow, SourceTree and GitLabGitFlow, SourceTree and GitLab
GitFlow, SourceTree and GitLab
 
Git workflows presentation
Git workflows presentationGit workflows presentation
Git workflows presentation
 
Git Workflows
Git WorkflowsGit Workflows
Git Workflows
 
VCS for Teamwork - GIT Workshop
VCS for Teamwork - GIT WorkshopVCS for Teamwork - GIT Workshop
VCS for Teamwork - GIT Workshop
 

Último

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
+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
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Último (20)

The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.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...
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
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
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.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
 
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
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 

Gitflow