git flow init -d
(Omit -d if you want to select values other than the defaults.)
This creates a new branch based on develop and switches to it:
git flow feature start FEATURENAME
This merges the feature into develop, removes the feature branch, and switches to develop:
git flow feature finish FEATURENAME
git flow feature publish FEATURENAME
git flow feature pull origin FEATURENAME
git flow release start RELEASENAME
git flow release publish RELEASENAME
git flow release track RELEASENAME
Merge release branch into master, tag it, merge back into develop, and remove the release branch:
git flow release finish RELEASENAME
git push --tags
git flow hotfix start VERSIONNAME
git flow hotfix start VERSIONNAME BASENAME
git flow hotfix finish VERSIONNAME