git flow new release code example
Example 1: git flow hotfix
#Start hotfix
git flow hotfix start VERSION
#Finish hotfix, Remember to increase your app version!
git flow hotfix finish VERSION
#Remember to push all branches and tags
git push --all --follow-tags
Example 2: git flow feature
#Open a feature branch named: feature/feature_name
git flow feature start feature_name
#Close a feature branch
git flow feature finish feature_name
#Remember to push all branches
git push --all
Example 3: gitflow workflow diagram
$ git checkout -b myfeature develop
Switched to a new branch "myfeature"