Git Workflow

Outline

In this tutorial, we will introduce
  • 3 widely adopted workflow
  • Git Flow
  • GitHub Flow
  • GitLab Flow

Background

What and Why Git?

What and Why Workflow?

People have a hard time figuring out 
  • which branch has the latest code
  • or which branch to deploy to production.

How to collaborate with Git? 


  • We need a Workflow for Agile development!


  client-valued feature perspective 
→ feature/hotfix branch 
merge 
delete branch

Also see more descriptions of Bitbucket Tutorials: Comparing Workflows

1. Git Flow

Main branches
  • master
  • develop
Supporting branches 
  1. feature:  feature/feature-name
  1. hotfix:  hotfix-id 
  1. release: release or r1.0.0 or rc1.0.0 (rc for release candidate)

Real GitHub Examples: