installing git is not fun but it is more fun than a fork in your eye
Here is more or less what I did to install git on OS X and on Media Temple. Newer versions of the below files will exist by the time you are reading this i.e. now.
I got the below mostly from http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard/
# GPG (if you didn’t have it already)
curl ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.7.tar.bz2 | tar xj
cd gnupg-1.4.7
./configure
make
sudo make install
cd ..
# GetText
curl http://mirrors.usc.edu/pub/gnu/gettext/gettext-0.17.tar.gz | tar xz
cd gettext-0.17
./configure
make
sudo make install
cd ..
# GIT
curl http://kernel.org/pub/software/scm/git/git-1.5.4.4.tar.bz2 | tar xj
cd git-1.5.4.4
./configure
make
sudo make install
cd ..
curl http://www.kernel.org/pub/software/scm/git/git-manpages-1.5.4.4.tar.bz2 |
sudo tar xj -C /usr/local/share/man
# Setup GIT
git config –global user.name ‘My Name’
git config –global user.email me@mydomain.net
#can you see two dashes before “global”?
April 30, 2008 at 12:12 am
Why didn’t you just use the OS X installer? http://code.google.com/p/git-osx-installer/
April 30, 2008 at 11:20 am
Thanks for the tip. The next time I need an git install in OS X I will give that a try.
April 30, 2008 at 3:04 pm
Just thought you might want to know we have a new Knowledge Base Article on how to install Git on our DV3.5.
http://kb.mediatemple.net/questions/820/
April 30, 2008 at 6:45 pm
Thanks, Brandon. I might look into switching to DV, I think it’s about the same price we’re paying for our upgraded GS. Until then I suppose doing the manual install as I’ve illustrated is the best solution when still on GS. If that’s not true please let us know.
Thanks!
May 7, 2008 at 4:21 pm
I’m still not aware of an easy way to put git on MediaTemple’s bargain gs servers. I did try the OS X installer on a new iMac I found laying around the office. It worked great except for altering my .bash_profile a little more than I wanted. Next time I will configure paths myself.