Skip to content

Instantly share code, notes, and snippets.

@yachi
Last active December 21, 2015 17:08
Show Gist options
  • Save yachi/6338230 to your computer and use it in GitHub Desktop.
Save yachi/6338230 to your computer and use it in GitHub Desktop.
to start using git flow
#!/bin/sh
#
brew install git-flow
brew uninstall git
brew install git --without-completions
echo
echo
echo
echo "==================================="
echo "two steps left!"
echo
echo "1. add 'git-flow to .zshrc plugins'"
echo "2. restart zsh"
echo
echo "==================================="
echo "opening http://danielkummer.github.io/git-flow-cheatsheet/index.html"
sleep 3
open http://danielkummer.github.io/git-flow-cheatsheet/index.html
  • $ brew install git-flow
  • $ brew uninstall git
  • $ brew install git --without-completions
  • enable git-flow in oh my zsh plugin
  • restart zsh
  • $ git flow init
  • $ git flow feature start myFeature
  • $ git commit -a
  • $ git commit -a
  • $ git flow feature finish myFeature

read: https://github.com/nvie/gitflow#initialization

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