SlideShare a Scribd company logo
GitFlow Workshop
Syed Imam
Sr. DevOps Engineer, Digital IT@AMP
Agenda
Expectation Objective GitFlow
GitFlow in
Action
What’s next Questions
Expectation
No multitasking, unless you are
in a P1/P2
Not meant to be a GitFlow
tutorial
However, we’ll attempt to cover
the concept
Objective
What do we want to achive from
this session?
Independently apply GitFlow to
the current and future DDC
project(s) you will be working on
GitFlow
Came around 2009, by Vincent
To find out more
https://nvie.com/posts/a-successful-
git-branching-model/
It has the concepts of
oPermanent branches: master and
develop
oTemporary branches: feature, release
and hotfix
oTags
master branch reflects the production state at any
given point in time
develop branch reflects the latest completed
development features intended for potential release
Temporary Branches: feature
feature branch should be
created for each new feature
and nonemergency bugfix
It should be started from the
develop branch
While the new feature is WIP,
all changes will be committed
to the respective feature
branch
Once the feature is completed,
feature branch should be
merged back into develop and
the branch deleted
Temporary Branches: release
Created from the develop branch
when it has obtained all the
desired features for that release
This can be used as a staging area
for minor bugfixes or other little
changes that might be required
before the final release
It helps freeing up the develop
branch to continue taking new
feature while the release has
been tightened up
Once the release is complete that
branch should be merged both
into develop and master branch
Important: master branch should
be subsequently tagged with the
release version .
This makes source code for each
release available by
corresponding tag
Temporary Branches: hotfix
Branch off from the
master branch’s
corresponding tag (e.g.
1.0.0 => 1.0.1)
Once the hotfix has been
completed the code must
be merged back to master
and develop branch
And again has to be
tagged back upon merging
to the master
What’ll be the new tag as
per example?
[Source: https://nvie.com/posts/a-successful-git-branching-model/]
GitFlow in
Action
Demo 1: Project Set up in
GitLab
Demo 2: Build and deploy from
Jenkins
What’s next
Anything that goes into UAT should be build off of the release branch
Then, same build can be promoted to production after UAT sign off
As mentioned during the upload, we are also working towards have
GitLab and Jira integrated so that each commit can be traced against a jira
ticket
Questions

More Related Content

What's hot (20)

PPTX
Git and Gerrit Code Review - Tech Talk - 2010_09_23
msohn
 
PDF
Git workflow step by step
Binh Quan Duc
 
PDF
A simplified Gitflow
Geshan Manandhar
 
PDF
Codeu+git+flow+presentation
Lars Kruse
 
PPTX
Understanding GitFlow by Ian Vizarra
vzrx23
 
PPTX
Git flow
Suraj Aair
 
PDF
Source code management with Git
Radu Barbu
 
PPTX
Git for work groups ironhack talk
Tiago Ameller
 
PDF
Git Series. Episode 2. Merge, Upstream Commands and Tags
Mikhail Melnik
 
PDF
Continuous Integration
Alea Soluciones, S.L.
 
PPTX
Why Aren't You Using Git Flow?
John Congdon
 
PDF
CoDe:U Git Flow
Lars Kruse
 
PPTX
My Git workflow
Rui Carvalho
 
PDF
DBM專案環境建置
Guo Albert
 
KEY
How we git - commit policy and code review
Ruben Tan
 
PPTX
Using Git with WordPress - Presented by Nigel Rodgers.
WordCamp Harare
 
ODP
Git Flow - An Introduction
Knoldus Inc.
 
PDF
Git flow
Valerio Como
 
PPT
Git workflows presentation
Mack Hardy
 
PDF
Pull Request (PR): A git workflow
Joan Yin
 
Git and Gerrit Code Review - Tech Talk - 2010_09_23
msohn
 
Git workflow step by step
Binh Quan Duc
 
A simplified Gitflow
Geshan Manandhar
 
Codeu+git+flow+presentation
Lars Kruse
 
Understanding GitFlow by Ian Vizarra
vzrx23
 
Git flow
Suraj Aair
 
Source code management with Git
Radu Barbu
 
Git for work groups ironhack talk
Tiago Ameller
 
Git Series. Episode 2. Merge, Upstream Commands and Tags
Mikhail Melnik
 
Continuous Integration
Alea Soluciones, S.L.
 
Why Aren't You Using Git Flow?
John Congdon
 
CoDe:U Git Flow
Lars Kruse
 
My Git workflow
Rui Carvalho
 
DBM專案環境建置
Guo Albert
 
How we git - commit policy and code review
Ruben Tan
 
Using Git with WordPress - Presented by Nigel Rodgers.
WordCamp Harare
 
Git Flow - An Introduction
Knoldus Inc.
 
Git flow
Valerio Como
 
Git workflows presentation
Mack Hardy
 
Pull Request (PR): A git workflow
Joan Yin
 

Similar to GitFlow Workshop (20)

PPTX
Git flow workflow example
Samúel Jón Gunnarsson
 
PDF
Introduction to Git (part 3)
Salvatore Cordiano
 
PDF
Git Series. Episode 3. Git Flow and Github-Flow
Mikhail Melnik
 
PDF
Introduction to git flow
Knoldus Inc.
 
PPTX
Gitflow - Clouddictive
Clouddictive
 
PDF
Gitflow Workflow
Hean Hong Leong
 
PPTX
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
PPTX
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
PDF
Git Workflow With Gitflow
Josh Dvir
 
PDF
Git and Git Workflow Models as Catalysts of Software Development
Lemi Orhan Ergin
 
PDF
19 GitFlow #burningkeyboards
Denis Ristic
 
PDF
Git with t for teams
Sven Peters
 
PDF
A Git Workflow Model or Branching Strategy
Vivek Parihar
 
PPTX
Git Workflows
Noam Kfir
 
PDF
Git branch management
Matt Liu
 
PDF
Tool Development A - Git
Nick Pruehs
 
PDF
Lets git together
devObjective
 
PDF
Dev objective2015 lets git together
ColdFusionConference
 
PPTX
git-flow R3Labs
Raül Pérez
 
PDF
CoDe:U git flow
Lars Kruse
 
Git flow workflow example
Samúel Jón Gunnarsson
 
Introduction to Git (part 3)
Salvatore Cordiano
 
Git Series. Episode 3. Git Flow and Github-Flow
Mikhail Melnik
 
Introduction to git flow
Knoldus Inc.
 
Gitflow - Clouddictive
Clouddictive
 
Gitflow Workflow
Hean Hong Leong
 
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
Gitflow - Branching and Merging Flow for Git
Maulik Shah
 
Git Workflow With Gitflow
Josh Dvir
 
Git and Git Workflow Models as Catalysts of Software Development
Lemi Orhan Ergin
 
19 GitFlow #burningkeyboards
Denis Ristic
 
Git with t for teams
Sven Peters
 
A Git Workflow Model or Branching Strategy
Vivek Parihar
 
Git Workflows
Noam Kfir
 
Git branch management
Matt Liu
 
Tool Development A - Git
Nick Pruehs
 
Lets git together
devObjective
 
Dev objective2015 lets git together
ColdFusionConference
 
git-flow R3Labs
Raül Pérez
 
CoDe:U git flow
Lars Kruse
 
Ad

More from Syed Imam (6)

PPTX
Customer Network Dashboard Solutions
Syed Imam
 
PPTX
SSO Implementation Demo
Syed Imam
 
PPTX
DevSecOps Platform Telemetry Dashboard Demo
Syed Imam
 
PPT
How to monitor kubernetes clusters
Syed Imam
 
PPTX
Kube 101
Syed Imam
 
PPTX
Deep dive - Concourse CI/CD and Pipelines
Syed Imam
 
Customer Network Dashboard Solutions
Syed Imam
 
SSO Implementation Demo
Syed Imam
 
DevSecOps Platform Telemetry Dashboard Demo
Syed Imam
 
How to monitor kubernetes clusters
Syed Imam
 
Kube 101
Syed Imam
 
Deep dive - Concourse CI/CD and Pipelines
Syed Imam
 
Ad

Recently uploaded (20)

PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
PPTX
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
PDF
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
LLMs.txt: Easily Control How AI Crawls Your Site
Keploy
 
WooCommerce Workshop: Bring Your Laptop
Laura Hartwig
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
NewMind AI - Journal 100 Insights After The 100th Issue
NewMind AI
 
New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
UiPath Academic Alliance Educator Panels: Session 2 - Business Analyst Content
DianaGray10
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 

GitFlow Workshop

  • 1. GitFlow Workshop Syed Imam Sr. DevOps Engineer, Digital IT@AMP
  • 2. Agenda Expectation Objective GitFlow GitFlow in Action What’s next Questions
  • 3. Expectation No multitasking, unless you are in a P1/P2 Not meant to be a GitFlow tutorial However, we’ll attempt to cover the concept
  • 4. Objective What do we want to achive from this session? Independently apply GitFlow to the current and future DDC project(s) you will be working on
  • 5. GitFlow Came around 2009, by Vincent To find out more https://nvie.com/posts/a-successful- git-branching-model/ It has the concepts of oPermanent branches: master and develop oTemporary branches: feature, release and hotfix oTags master branch reflects the production state at any given point in time develop branch reflects the latest completed development features intended for potential release
  • 6. Temporary Branches: feature feature branch should be created for each new feature and nonemergency bugfix It should be started from the develop branch While the new feature is WIP, all changes will be committed to the respective feature branch Once the feature is completed, feature branch should be merged back into develop and the branch deleted
  • 7. Temporary Branches: release Created from the develop branch when it has obtained all the desired features for that release This can be used as a staging area for minor bugfixes or other little changes that might be required before the final release It helps freeing up the develop branch to continue taking new feature while the release has been tightened up Once the release is complete that branch should be merged both into develop and master branch Important: master branch should be subsequently tagged with the release version . This makes source code for each release available by corresponding tag
  • 8. Temporary Branches: hotfix Branch off from the master branch’s corresponding tag (e.g. 1.0.0 => 1.0.1) Once the hotfix has been completed the code must be merged back to master and develop branch And again has to be tagged back upon merging to the master What’ll be the new tag as per example?
  • 10. GitFlow in Action Demo 1: Project Set up in GitLab Demo 2: Build and deploy from Jenkins
  • 11. What’s next Anything that goes into UAT should be build off of the release branch Then, same build can be promoted to production after UAT sign off As mentioned during the upload, we are also working towards have GitLab and Jira integrated so that each commit can be traced against a jira ticket