Skip to content

Instantly share code, notes, and snippets.

@juanra
Created January 24, 2014 22:28
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanra/8608087 to your computer and use it in GitHub Desktop.
Save juanra/8608087 to your computer and use it in GitHub Desktop.
Script to install git-flow in Cloud9 IDE.
#!/bin/bash
# This script downloads and installs git-flow into Cloud9 workspace.
# It makes possible to use git-flow for high-level repository operations using Vincent Driessen's branching model.
# Create this file in a root of your workspace.
# Run in command line: chmod +x install-gitflow-cloud9.sh
# And: ./install-gitflow-cloud9.sh
# It will take some time to download and compile.
echo "Downloading git-flow to /gitflow directory".
git clone --recursive git://github.com/nvie/gitflow.git
cd into the gitflow dir
echo "Installing git-flow".
make install prefix=$HOME
echo "Check to make sure everything installed properly by typing 'git flow' into the terminal."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment