wget https://raw.githubusercontent.com/petervanderdoes/gitflow-avh/develop/contrib/gitflow-installer.sh
sudo bash gitflow-installer.sh install stable
rm gitflow-installer.sh
You may also choose to install git-flow-completion
brew install git-flow-avh
The Git for Windows installer includes git-flow
built-in as of version 2.6.4 (released 2015-12-08), so no additional installation is needed
cd /path/to/your/git/project
git flow init
You will be asked to answer a few questions. It will look something like this:
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? []
You should accept all the default options by pressing Enter
/Return
.
If using SmartGit
- Go to the "Branch" menu
- Go to the "Git-Flow" submenu
- Click "Configure"
- If prompted, choose "Change Configuration"
- Choose "Git-Flow Type": "Full (feature, release, hotfix, support branches)"
- Click "Reset to defaults" at the bottom of the window
- Click "OK"
- A successful Git branching model - the original article about
git-flow
- git-flow cheatsheet
- Gitflow Workflow | Atlassian Git Tutorial
- Using git-flow to automate your git branching workflow
- petervanderdoes/gitflow-avh - source code of the
git-flow
extensions for git