SlideShare a Scribd company logo
GIT FLOW
Clouddictive
https://blog.clouddictive.com
team@clouddictive.com
Agenda
❖ GIT Overview
❖ GIT Flow
❖ Master and Develop Branches
❖ Feature, Release and Hotfix Branches
❖ How it works
❖ Other Workflows
❖ Install and Demo
GIT Overview
❖ Version Control System - For the code we write!.
❖ Distributed - Repo stored locally with history and on
centralized location.
❖ Branching and Merging
❖ Fast - Written in C + Local Repo
❖ FREE + Open Source
GIT Overview
Source: http://pigne.org
GIT Overview - Branching and
Merge
Source: https://www.f30.me
GIT Flow
❖ Blog from Vincent Driessen in 2010 (from Netherlands)
❖ http://nvie.com
❖ First Structured Workflow
❖ Git extension called git-flow - by Jeff Kreeftmeijer
❖ http://jeffkreeftmeijer.com/2010/why-arent-you-
using-git-flow/
(Note: Image source for this presentation is http://nvie.com)
GIT Flow - Branches
❖ Master and Develop Branches
- They are there to stay
❖ Feature, Release and Hotfix -
are temporary supporting
branches. They support
❖ Parallel development
❖ Tracking features
❖ Bug fixes
❖ Quickly fixing live
Production issues
Master and Develop
❖ Master - Reflects a
production ready state.
❖ Develop - Reflects a state
with the latest delivered
development changes for
the next release.
Feature Branch
❖ Are used to develop new
features for the upcoming or a
distant future release.
❖ Target release - Unknown
❖ May branch off from:
develop
❖ Must merge back into:
develop
❖ Branch naming convention:
anything except master,
develop, release-*, or hotfix-*
Release Branch
❖ Support PROD releases - Can consist of 1-n
features
❖ Testing and Bug fixing
❖ Develop branch is cleared to receive features for
the next big release - Take develop code and
start creating more features (branches).
❖ May branch off from:
develop
❖ Must merge back into (Finish Stage):
develop and master
❖ Branch naming convention:
release-*
Hotfix Branch
❖ Like release branches
❖ Fix bugs in PROD
❖ May branch off from:
master
❖ Must merge back into:
develop and master
❖ Branch naming convention:
hotfix-*
How it works - Feature
How it works - Feature finished
How it works - Release
How it works - Release finished
How it works - Hotfix
Other Workflows
❖ GitHub Flow - one off from master
❖ Skullcandy’s flow- feature branch based on
story/deliverables , Merged to QA branch for testing and
then PROD
❖ Master Only flow
❖ Backcountry flow - Master , Feature and PROD
branches
Install
❖ https://github.com/nvie/gitflow/wiki/Mac-OS-X
curl -L -O
https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-
installer.sh
sudo bash gitflow-installer.sh
Demo - Init
❖ $ git-flow init
❖ git branch
*develop
master
Demo - Feature
❖ git-flow feature start authentication
❖ git add src
❖ git commit
❖ git feature finish authentication
❖ git branch
Demo - Release
❖ git-flow release start 0.1.0
❖ git branch
❖ git add (changes)
❖ git commit
❖ git-flow release finish 0.1.0
Demo - Hotfix
❖ git-flow hotfix start asset
❖ git add
❖ git commit
❖ git-flow hotfix finish asset

More Related Content

PDF
Seamless Migration
PDF
Distributed Versioning Tools, BeJUG 2010
PPT
Git workflows presentation
PPTX
My Git workflow
PPTX
Git flow
PDF
Architecting Qt Mobile Applications: Frameworks, Code Generators and Beyond
PPTX
Git workflows
PPTX
Bitbucket pipelines
Seamless Migration
Distributed Versioning Tools, BeJUG 2010
Git workflows presentation
My Git workflow
Git flow
Architecting Qt Mobile Applications: Frameworks, Code Generators and Beyond
Git workflows
Bitbucket pipelines

What's hot (20)

PDF
Collaborative development with git
PDF
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
PDF
Drupal + composer = new love !?
PDF
Efficient development workflows with composer
PDF
ApacheCon Europe 2016 : CONTAINERS IN ACTION - Transform Application Delivery...
PDF
Efficient development workflows with composer
PDF
Git sourcecontrolpreso
ODP
CI and other tools for feature branch development
PDF
Docker in Production: Reality, Not Hype - DevOps Chicago
PDF
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
PDF
Webinar - Unbox GitLab CI/CD
PDF
OpenCms Days 2014 Keynote - Step up to OpenCms 9.5
PDF
Dev/Stage/Prod Parity with Vagrant
ODP
Git Flow - An Introduction
PDF
It's a Breeze to develop Apache Airflow (Apache Con Berlin)
PDF
Waylandifying Chromium: From downstream to shipping (ELCE 2020)
PDF
Git for joomla! development #JAB14
PDF
Desarrollo web backend: Spring Boot, MongoDB y Azure
PPTX
Orchard 2... and why you should care
PDF
Build and release iOS apps using Fastlane tools
Collaborative development with git
HTTP / 1, HTTP / 2 and HTTP / 3: Past, present and the future of APIs
Drupal + composer = new love !?
Efficient development workflows with composer
ApacheCon Europe 2016 : CONTAINERS IN ACTION - Transform Application Delivery...
Efficient development workflows with composer
Git sourcecontrolpreso
CI and other tools for feature branch development
Docker in Production: Reality, Not Hype - DevOps Chicago
COSCUP 2016: Project 52 每週一個小專案來學習 Golang
Webinar - Unbox GitLab CI/CD
OpenCms Days 2014 Keynote - Step up to OpenCms 9.5
Dev/Stage/Prod Parity with Vagrant
Git Flow - An Introduction
It's a Breeze to develop Apache Airflow (Apache Con Berlin)
Waylandifying Chromium: From downstream to shipping (ELCE 2020)
Git for joomla! development #JAB14
Desarrollo web backend: Spring Boot, MongoDB y Azure
Orchard 2... and why you should care
Build and release iOS apps using Fastlane tools
Ad

Similar to Gitflow - Clouddictive (20)

PDF
Gitflow Workflow
PDF
Introduction to git flow
PDF
19 GitFlow #burningkeyboards
PDF
Git Workflow With Gitflow
PDF
Git-flow workflow and pull-requests
PDF
Introducing Git and git flow
PPTX
git-flow R3Labs
PDF
Git Series. Episode 3. Git Flow and Github-Flow
PDF
Tool Development A - Git
PDF
Introduction to Git (part 3)
PPTX
Git flow workflow example
PPTX
Git development workflow
PPTX
Understanding GitFlow by Ian Vizarra
PPTX
Gitflow
PPTX
Gitflow - Branching and Merging Flow for Git
PPTX
Gitflow - Branching and Merging Flow for Git
PPTX
Why Aren't You Using Git Flow?
PPTX
Git Workflows
PDF
Git flow Introduction
Gitflow Workflow
Introduction to git flow
19 GitFlow #burningkeyboards
Git Workflow With Gitflow
Git-flow workflow and pull-requests
Introducing Git and git flow
git-flow R3Labs
Git Series. Episode 3. Git Flow and Github-Flow
Tool Development A - Git
Introduction to Git (part 3)
Git flow workflow example
Git development workflow
Understanding GitFlow by Ian Vizarra
Gitflow
Gitflow - Branching and Merging Flow for Git
Gitflow - Branching and Merging Flow for Git
Why Aren't You Using Git Flow?
Git Workflows
Git flow Introduction
Ad

Recently uploaded (20)

PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Electronic commerce courselecture one. Pdf
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Electronic commerce courselecture one. Pdf
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Per capita expenditure prediction using model stacking based on satellite ima...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Chapter 3 Spatial Domain Image Processing.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The AUB Centre for AI in Media Proposal.docx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
The Rise and Fall of 3GPP – Time for a Sabbatical?

Gitflow - Clouddictive

  • 2. Agenda ❖ GIT Overview ❖ GIT Flow ❖ Master and Develop Branches ❖ Feature, Release and Hotfix Branches ❖ How it works ❖ Other Workflows ❖ Install and Demo
  • 3. GIT Overview ❖ Version Control System - For the code we write!. ❖ Distributed - Repo stored locally with history and on centralized location. ❖ Branching and Merging ❖ Fast - Written in C + Local Repo ❖ FREE + Open Source
  • 5. GIT Overview - Branching and Merge Source: https://www.f30.me
  • 6. GIT Flow ❖ Blog from Vincent Driessen in 2010 (from Netherlands) ❖ http://nvie.com ❖ First Structured Workflow ❖ Git extension called git-flow - by Jeff Kreeftmeijer ❖ http://jeffkreeftmeijer.com/2010/why-arent-you- using-git-flow/ (Note: Image source for this presentation is http://nvie.com)
  • 7. GIT Flow - Branches ❖ Master and Develop Branches - They are there to stay ❖ Feature, Release and Hotfix - are temporary supporting branches. They support ❖ Parallel development ❖ Tracking features ❖ Bug fixes ❖ Quickly fixing live Production issues
  • 8. Master and Develop ❖ Master - Reflects a production ready state. ❖ Develop - Reflects a state with the latest delivered development changes for the next release.
  • 9. Feature Branch ❖ Are used to develop new features for the upcoming or a distant future release. ❖ Target release - Unknown ❖ May branch off from: develop ❖ Must merge back into: develop ❖ Branch naming convention: anything except master, develop, release-*, or hotfix-*
  • 10. Release Branch ❖ Support PROD releases - Can consist of 1-n features ❖ Testing and Bug fixing ❖ Develop branch is cleared to receive features for the next big release - Take develop code and start creating more features (branches). ❖ May branch off from: develop ❖ Must merge back into (Finish Stage): develop and master ❖ Branch naming convention: release-*
  • 11. Hotfix Branch ❖ Like release branches ❖ Fix bugs in PROD ❖ May branch off from: master ❖ Must merge back into: develop and master ❖ Branch naming convention: hotfix-*
  • 12. How it works - Feature
  • 13. How it works - Feature finished
  • 14. How it works - Release
  • 15. How it works - Release finished
  • 16. How it works - Hotfix
  • 17. Other Workflows ❖ GitHub Flow - one off from master ❖ Skullcandy’s flow- feature branch based on story/deliverables , Merged to QA branch for testing and then PROD ❖ Master Only flow ❖ Backcountry flow - Master , Feature and PROD branches
  • 18. Install ❖ https://github.com/nvie/gitflow/wiki/Mac-OS-X curl -L -O https://raw.github.com/nvie/gitflow/develop/contrib/gitflow- installer.sh sudo bash gitflow-installer.sh
  • 19. Demo - Init ❖ $ git-flow init ❖ git branch *develop master
  • 20. Demo - Feature ❖ git-flow feature start authentication ❖ git add src ❖ git commit ❖ git feature finish authentication ❖ git branch
  • 21. Demo - Release ❖ git-flow release start 0.1.0 ❖ git branch ❖ git add (changes) ❖ git commit ❖ git-flow release finish 0.1.0
  • 22. Demo - Hotfix ❖ git-flow hotfix start asset ❖ git add ❖ git commit ❖ git-flow hotfix finish asset