-
Notifications
You must be signed in to change notification settings - Fork 11
Installing on Mac OS X
Peter van der Does edited this page Jan 27, 2013
·
17 revisions
Easy as Homebrew itself is:
brew install git-flow-avh
brew install git-flow-avh --HEAD
Even using wget its a one line effort.
wget --no-check-certificate -q -O - https://github.com/petervanderdoes/gitflow/raw/develop/contrib/gitflow-installer.sh install stable| sudo bash
wget --no-check-certificate -q -O - https://github.com/petervanderdoes/gitflow/raw/develop/contrib/gitflow-installer.sh install develop| sudo bash
wget: command not found? curl is only two. (Note that URL is where the above URL currently redirects.)
curl https://raw.github.com/petervanderdoes/gitflow/develop/contrib/gitflow-installer.sh > gitflow-installer.sh
chmod a+x gitflow-installer.sh
sudo bash gitflow-installer.sh install stable
sudo bash gitflow-installer.sh install develop
Install GNU getopt via Homebrew:
brew install gnu-getopt.
Create a ~/.gitflow_export with the content export FLAGS_GETOPT_CMD="$(brew --prefix gnu-getopt)/bin/getopt".
For git-flow versions prior to 1.4.0-dev.28
Create a ~/.gitflow_export with the content alias getopt="$(brew --prefix gnu-getopt)/bin/getopt".
If you have installed GNU getopt through other means than Homebrew, substitute $(brew --prefix gnu-getopt)/bin/getopt with the location of the GNU getopt file.