Creating hotfix using git flow. The following commands show how to provide a hotfix using git flow. Make sure your master branch is up to date.
Create hotfix from master branch:
git flow hotfix start hotfix_branch_name
Now fix on hotfix branch.
Finish hotfix:
git flow hotfix finish hotfix_branch_name