Install git-flow
Git-flow is a collection of Git extensions to provide high-level repository operations for Vincent Driessen’s branching model.
Install git-flow
To install the git-flow
toolset run the following commands in your terminal:
# Update the PATH environment variable to include `/mnt/user/.bin`
export GIT_GLOW_INSTALLATION_DIR=/mnt/user/.bin
export PATH=$GIT_GLOW_INSTALLATION_DIR:$PATH
echo "export PATH=$GIT_GLOW_INSTALLATION_DIR:$PATH" >> /mnt/user/.bashrc
# Create the installation dir of `git-flow` if it does not exist.
mkdir -p $GIT_GLOW_INSTALLATION_DIR
# Download the `git-flow` installer and install `git-flow`
wget https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-installer.sh -O /mnt/user/gitflow-installer.sh
chmod +x /mnt/user/gitflow-installer.sh
INSTALL_PREFIX=$GIT_GLOW_INSTALLATION_DIR /mnt/user/gitflow-installer.sh
Is there any other hack you would like to see here? Request a hack.