Git Workflows

 What is git workflow:

  1. A set of guidelines developers can follow when using version control

  2. Referred to as a Branching Model

  3. Not rules, but guidelines which are not set in stone.


Different types of workflow

  1. Centralized/trunk based Workflow

  2. Feature Branch Workflow

  3. Release Branch workflow

  4. Gitflow Workflow

  5. Environment Branching 

  6. Forking Workflow


Details of git workflow: Click here


Gitflow Command:

  • Git flow init
    Initialize git flow. After that two branches are created master and develop

  • Git flow feature start feature_branch
    Start to create the feature branch

  • Git flow feature finish feature_branch
    Finish the feature branch. Then it automatically merges with the develop branch and deletes itself.

  • Git flow release start 0.1.0
    Start to create release branch

Git flow release finish 0.1.0
After fixing bug it will merge the branch with master and developer





Comments