Git Workflows
What is git workflow:
A set of guidelines developers can follow when using version control
Referred to as a Branching Model
Not rules, but guidelines which are not set in stone.
Different types of workflow
Centralized/trunk based Workflow
Feature Branch Workflow
Release Branch workflow
Gitflow Workflow
Environment Branching
Forking Workflow
Gitflow Command:
Git flow init
Initialize git flow. After that two branches are created master and developGit flow feature start feature_branch
Start to create the feature branchGit 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
After fixing bug it will merge the branch with master and developer
Comments
Post a Comment