Skip to content

Instantly share code, notes, and snippets.

@michael-harrison
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-harrison/2fd15db758a454e838f1 to your computer and use it in GitHub Desktop.
Save michael-harrison/2fd15db758a454e838f1 to your computer and use it in GitHub Desktop.
Git Flow Cheat Sheet

Installation

brew install git-flow

Configuration

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

Plugins

Using RubyMine? Then install the Git Flow Integration plugin.
Using vim? TODO: need to find a good one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment