Skip to content

Instantly share code, notes, and snippets.

@jsmestad
Created December 18, 2013 19:10
Show Gist options
  • Save jsmestad/8027986 to your computer and use it in GitHub Desktop.
Save jsmestad/8027986 to your computer and use it in GitHub Desktop.
Git Flow setup

First install git-flow via Homebrew (see git-flow repo for instructions on other systems) brew install git-flow


Set up repo for git flow usage

Navigate to the git directory for your project and run:

git checkout -b develop
git flow init

You will be asked a series of questions, here are the answers:

Branch name for production releases: [master] master
Branch name for "next release" development: [master] develop
How to name your supporting branch prefixes?
Feature branches? [feature/]
Release branches? [release/]
Hotfix branches? [hotfix/]
Support branches? [support/]
Version tag prefix? [] v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment