Using git-flow to automate your git branching workflow
Vincent Driessen's branching model is a git branching and release management strategy that helps developers keep track of features, hotfixes and releases in bigger software projects. This workflow has lot of commands to type and remember, though, so there's also the git-flow library of git subcommands that helps automate some parts of the flow to make working with it a lot easier. After installing git-flow (brew install git-flow), you can start using git-flow in your repository by using it's init command. You can use it in existing projects, but let's start a new repository: $ git flow init Initialized empty Git repository in ~/project/.git/ No branches exist yet. Base branches must be created now. git-flow is just a wrapper around existing git commands, so the init command doesn't change anything in your repository other than creating branches for you. If you run git branch after setting up, you'll notice that you switched from the master branch to a new one named develop.
• Git howto