Skip to content

Instantly share code, notes, and snippets.

@rweald
Created September 29, 2011 18:16
Show Gist options
  • Save rweald/1251481 to your computer and use it in GitHub Desktop.
Save rweald/1251481 to your computer and use it in GitHub Desktop.
Installing Git on UCSD cs lab accounts
  1. Download the latest version of the git source
curl -O http://git-core.googlecode.com/files/git-1.7.6.4.tar.gz
  1. unpack git source
tar -xzf git-1.7.6.4.tar.gz
  1. Compile the source
cd git-1.7.6.4 && make prefix=/usr all
  1. Add git directory to path
echo "PATH=$PATH:~/git-1.7.6.4" >> ~/.bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment