git flow create feature code example
Example 1: git flow feature
git flow feature start feature_name
git flow feature finish feature_name
git push --all
Example 2: git flow
$ git flow init
Initialized empty Git repository in ~/project/.git/
No branches exist yet. Base branches must be created now.
Branch name for production releases: [master]
Branch name for "next release" development: [develop]
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? []
$ git branch
* develop
master
Example 3: gitflow workflow diagram
$ git checkout -b myfeature develop
Switched to a new branch "myfeature"