Note that there are a couple of versions of the git-flow script floating around. The AVH version (https://github.com/petervanderdoes/gitflow/) is newer preferred over https://github.com/nvie/gitflow.
1.8.0 (AVH Edition)
Linux:
- Append /usr/local/bin to $PATH in .bashrc
- Download and execute gitflow-installer.sh
wget --no-check-certificate -q https://raw.github.com/petervanderdoes/gitflow/develop/contrib/gitflow-installer.sh chmod +x gitflow-installer.sh sudo ./gitflow-installer.sh install stable
Windows:
Update cygwin and make sure latest version of git is installed.
Download and execute gitflow-installer.sh
wget -nd -nv --no-check-certificate -q https://raw.github.com/petervanderdoes/gitflow/develop/contrib/gitflow-installer.sh
chmod +x gitflow-installer.sh
./gitflow-installer.sh install stable
References:
https://github.com/petervanderdoes/gitflow/wiki
http://danielkummer.github.io/git-flow-cheatsheet/
https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow/
Git Flow Init
Note: git flow init adds the following lines to the .git/config file in your local repo:
[gitflow "branch"]
If you need to redo the git flow init, simply execute:
git flow init -f