brew install git-flow
Following are the command to setup a new repo with git-flow
mkdir new_repo_folder
git-flow init -d
Following are the commands to setup an existing repo with git-flow
cd /path/to/repo
git checkout -B develop # From master banch
git-flow init -d
Using RubyMine? Then install the Git Flow Integration plugin.
Using vim? TODO: need to find a good one