Skip to content

Instantly share code, notes, and snippets.

@pine
Last active September 6, 2015 18:44
Show Gist options
  • Save pine/e06df0030b2face58508 to your computer and use it in GitHub Desktop.
Save pine/e06df0030b2face58508 to your computer and use it in GitHub Desktop.
Installing Git 2.5.1 for OpenShift
#!/bin/bash
set -e
cd $OPENSHIFT_DATA_DIR
mkdir -p build
cd build
wget https://github.com/git/git/archive/v2.5.1.zip
unzip v2.5.1.zip
cd git-2.5.1
autoconf
./configure --prefix=$OPENSHIFT_DATA_DIR/git --with-expat
make all
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment